]> mj.ucw.cz Git - ga.git/blobdiff - Makerules
Úpravy uploadovací mašinerie
[ga.git] / Makerules
index f8dad2818baa048818dc15478557e0dd9c59abbb..74578112e91903dfe32637e282fe8aeb55e605bc 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1,6 +1,6 @@
 export TEXINPUTS=.:..:
 
-all: $P.ps
+all: $P.pdf
 
 %.dvi: %.tex ../sgr.tex ../ga.bib
        csplain $< && if grep -q citation $*.aux ; then bibtex $* && csplain $< && csplain $< ; fi
@@ -26,7 +26,8 @@ clean:: mostlyclean
 ifndef CUSTOM_UPLOAD
 upload::
        make $P.pdf
-       scp -C $P.pdf jabberwock:www/vyuka/ga/
+       scp -C $P.pdf jabberwock:www/static/vyuka/ga/
+       ssh jabberwock 'cd web && make'
 endif
 
 .SECONDARY: