]> mj.ucw.cz Git - ga.git/commitdiff
Úpravy uploadovací mašinerie
authorMartin Mares <mj@ucw.cz>
Tue, 25 Feb 2014 22:51:12 +0000 (23:51 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 25 Feb 2014 22:51:12 +0000 (23:51 +0100)
Od této chvíle jsou časy poslední úpravy kapitol udržovány automaticky.

Makerules
all/Makefile

index 1ddda764cdb30cb81e396bcff6a3d959a5ca4ede..74578112e91903dfe32637e282fe8aeb55e605bc 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -27,6 +27,7 @@ ifndef CUSTOM_UPLOAD
 upload::
        make $P.pdf
        scp -C $P.pdf jabberwock:www/static/vyuka/ga/
+       ssh jabberwock 'cd web && make'
 endif
 
 .SECONDARY:
index 0f267e89503e259d49a079c728e374307cb92993..69218a2e46fa2ddc88a175d71299528562146e3c 100644 (file)
@@ -18,4 +18,3 @@ upload::
        make $P.pdf
        scp -C $P.pdf jabberwock:www/static/vyuka/ga/
        ( 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'