all:
-upload:
- tar czvvf - Makerules sgr.tex ~/texmf/tex/mj/mjmac.tex | ssh atrey 'cat >WWW/vyuka/sgr-2005/macros.tar.gz'
+clean:
+ for a in *-* all ; do ( cd $$a && make clean ) ; done
+ rm -f *~
.SECONDARY:
clean:: mostlyclean
rm -f *.ps *.pdf
-upload:
- make clean
- ( cd .. && tar czvvf - $P ) | ssh atrey "cat >WWW/vyuka/sgr-2005/$P.tar.gz"
+upload::
make $P.ps
- scp -C $P.ps atrey:WWW/vyuka/sgr-2005/$P.ps
- make clean
+ scp -C $P.ps jabberwock:www/vyuka/ga/$P.ps
.SECONDARY:
-P=all
+P=ga
X=$(shell for a in 1 2 3 4 5 6 7 8 9 ; do echo ../$$a-*/$$a-*.tex ; done)
include ../Makerules
-all.tex: $(X) preprocess
+ga.tex: $(X) preprocess
./preprocess $(X) >$@
clean::
- rm -f all.tex
+ rm -f ga.tex
+
+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'