P=ga X=$(shell for a in 0 1 2 3 4 5 6 7 8 9 10 11 ; do echo ../$$a-*/$$a-*.tex ; done) universe: ga.ps ChangeLog include ../Makerules ga.dvi: ga.tex body.tex body.tex: $(X) preprocess ./preprocess $(X) >$@ ChangeLog: git-log --pretty=medium --since='4 weeks ago' --stat | grep -v '^---' >ChangeLog clean:: rm -f body.tex ChangeLog upload:: ( cd .. && make clean ) ( cd ../.. && tar czf - --exclude .git ga ) | ssh jabberwock 'cd www/vyuka/ga/ && cat >ga.tar.gz.new && mv ga.tar.gz.new ga.tar.gz' make ChangeLog && cat ChangeLog | ssh jabberwock 'cd www/vyuka/ga && cat >ChangeLog.new && mv ChangeLog.new ChangeLog'