From: Martin Mares Date: Tue, 16 Jan 2007 16:40:54 +0000 (+0100) Subject: Na webu publikujeme i ChangeLog. X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=91f26e1edec441df10c2d88e3f70099f990157a1;p=ga.git Na webu publikujeme i ChangeLog. --- diff --git a/all/Makefile b/all/Makefile index 8cee570..2c7aef6 100644 --- a/all/Makefile +++ b/all/Makefile @@ -1,6 +1,8 @@ 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 @@ -8,9 +10,13 @@ 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 + 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'