From: Martin Mares Date: Sat, 17 Oct 2009 15:49:10 +0000 (+0200) Subject: Nova pravidla pro vyrobu spojene verze prednasek. X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=575f7f8b1beeba2ad4780983aac4992eeb7018dc;p=ads2.git Nova pravidla pro vyrobu spojene verze prednasek. --- diff --git a/all/Makefile b/all/Makefile index ea6f7f5..145cca1 100644 --- a/all/Makefile +++ b/all/Makefile @@ -1,9 +1,8 @@ P=ads2 -X:=$(shell for a in 1 2 3 4 5 6 7 8 9 10 11 12 13 ; do echo ../$$a-*/$$a-*.tex ; done) +X:=$(shell echo ../*-*/*-*.tex) %universe: all ChangeLog -CUSTOM_UPLOAD=1 include ../Makerules ads2.dvi: ads2.tex body.tex @@ -18,8 +17,6 @@ clean:: rm -f body.tex ChangeLog upload:: - make $P.ps $P-2in1.ps - scp -C $P.ps $P-2in1.ps jabberwock:www/vyuka/0708/ads2/ - ( cd .. && make clean ) - ( cd ../.. && tar czf - --exclude .git ads2 ) | ssh jabberwock 'cd www/vyuka/0708/ads2/ && cat >ads2.tar.gz.new && mv ads2.tar.gz.new ads2.tar.gz' - make ChangeLog && cat ChangeLog | ssh jabberwock 'cd www/vyuka/0708/ads2 && cat >ChangeLog.new && mv ChangeLog.new ChangeLog' +# ( 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' diff --git a/all/ads2.stamp b/all/ads2.stamp new file mode 100644 index 0000000..e9c6ece --- /dev/null +++ b/all/ads2.stamp @@ -0,0 +1 @@ +2009-10-17