]> mj.ucw.cz Git - ads2.git/commitdiff
Nova pravidla pro vyrobu spojene verze prednasek.
authorMartin Mares <mj@ucw.cz>
Sat, 17 Oct 2009 15:49:10 +0000 (17:49 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 17 Oct 2009 15:49:10 +0000 (17:49 +0200)
all/Makefile
all/ads2.stamp [new file with mode: 0644]

index ea6f7f59f3971596d069e1d5faa36e4ffe84ad53..145cca1efc2305c8d95122e6a40de9d02b062ce0 100644 (file)
@@ -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 (file)
index 0000000..e9c6ece
--- /dev/null
@@ -0,0 +1 @@
+2009-10-17