zenu

Des menus dans votre terminal - retour accueil

git clone git://bebou.netlib.re/zenu
Log | Files | Refs | README |

makefile (598B)


      1 from     = menus
      2 to       = ${from}
      3 menus   != find ${from} -mindepth 1 -maxdepth 1 -type f -not -name '*.*'
      4 export from to
      5 
      6 face     = ${menus:${from}/%=${to}/%.face}
      7 script   = ${menus:${from}/%=${to}/%.script}
      8 emph     = ${menus:${from}/%=${to}/%.emph}
      9 until    = ${to}/until.txt
     10 
     11 all: ${until} ${script} ${emph}
     12 
     13 ${to}/%.face   : ${from}/%          bin/build ; bin/build -f $< > $@
     14 ${to}/%.script : ${from}/% ${until} bin/build ; bin/build -s $< > $@
     15 ${to}/%.emph   : ${from}/% ${until} bin/build ; bin/build -e $< > $@
     16 ${until}       : ${face} ; wc $? | awk 'n>m{m=n}{n=$$1}END{print m}' > $@