From: Martin Mares Date: Fri, 4 Nov 2011 21:29:00 +0000 (+0100) Subject: Uprava Makefile pro souborne vydani X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=e93dea18aa6ada5cc86a8fadc98fc496602aa451;p=ads2.git Uprava Makefile pro souborne vydani --- diff --git a/all/Makefile b/all/Makefile index 9512ac2..89cb394 100644 --- a/all/Makefile +++ b/all/Makefile @@ -1,8 +1,6 @@ P=ads2 X:=$(shell ls ../*-*/*-*.tex | sort -t/ -k2 -n) -%universe: all ChangeLog - include ../Makerules ads2.dvi: ads2.tex body.tex @@ -10,13 +8,5 @@ ads2.dvi: ads2.tex body.tex body.tex: $(X) preprocess ./preprocess $(X) >$@ -ChangeLog: - git-log -C --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 ads2 ) | ssh jabberwock 'cd www/$UPDIR/ && cat >ads2.tar.gz.new && mv ads2.tar.gz.new ads2.tar.gz' - make ChangeLog && cat ChangeLog | ssh jabberwock 'cd www/$(UPDIR) && cat >ChangeLog.new && mv ChangeLog.new ChangeLog' + rm -f body.tex