Added Makefile targets for PDF Upload and www (pdf then upload)
authorPepi Zawodsky <git@maclemon.at>
Sun, 8 Dec 2013 14:43:53 +0000 (15:43 +0100)
committerPepi Zawodsky <git@maclemon.at>
Sun, 8 Dec 2013 14:43:53 +0000 (15:43 +0100)
src/Makefile

index 7b61d00..0060240 100644 (file)
@@ -28,6 +28,11 @@ epub:
  # experimental
        pandoc -f latex -t epub -o applied-crypto-hardening.epub applied-crypto-hardening.tex
 
+upload:
+       rsync -avz --progress --no-p --no-g --no-t applied-crypto-hardening.pdf www.bettercrypto.org:/var/www/static/
+
+www:   pdf upload
+
 clean:
        rm -f applied-crypto-hardening.aux applied-crypto-hardening.bbl \
             applied-crypto-hardening.blg applied-crypto-hardening.dvi   \