]> www.wagner.pp.ru Git - fiction/Kate-the-Empress.git/blobdiff - Makefile
Small stylistic fixes. Added ashillis2.tex to the content table
[fiction/Kate-the-Empress.git] / Makefile
index b479d1a33875a1ab16495fe61fb304c2095fb7d6..093ca3c3889174f9127e959b769ad9af9200e225 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
+SRC_URL=http://www.wagner.pp.ru/~vitus/fiction
+UPLOAD_URL=https://www.wagner.pp.ru/dav/vitus/fiction
 all: Kate-the-Empress.pdf Kate-the-Empress.html Kate-the-Empress.epub Kate-the-Empress.fb2.zip
 
+publish: Kate-the-Empress.pdf Kate-the-Empress.html Kate-the-Empress.epub Kate-the-Empress.fb2.zip
+       for i in $^; do curl -n -T $$i $(UPLOAD_URL)/$$i || exit 1;done
+
+
 Kate-the-Empress.pdf: $(wildcard *.tex)
        pdflatex book
        pdflatex book