]> www.wagner.pp.ru Git - fiction/jasmina.git/blobdiff - Makefile
навел порядок с кораблями
[fiction/jasmina.git] / Makefile
index a73fdb59a5ac0272c12f5bff43f2ee47b6990e55..e5f2b735eb95ed395b8b2cd89166693a085092c9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 SRC_URL=http://www.wagner.pp.ru/~vitus/fiction
+UPLOAD_URL=https://www.wagner.pp.ru/dav/vitus/fiction
 ID=90860948-65dc-11e5-bd77-bc5ff453db06
 VERSION=0.$(shell date +%s)
 
@@ -7,6 +8,9 @@ all: jasmina.html jasmina.epub jasmina.fb2.zip
 fb2: jasmina.fb2.zip
 pdf: jasmina.pdf
 
+publish: jasmina.html jasmina.epub jasmina.fb2.zip jasmina.pdf
+       for i in $^; do curl -n -T $$i $(UPLOAD_URL)/$$i || exit 1;done
+
 all.mdwn: order.lst $(wildcard *.txt)
        for i in `cat order.lst`; do sed 's/<TBD>/*(Фрагмент недописан)*/' "$$i"; echo ""; done > $@
 jasmina.html: all.mdwn
@@ -42,3 +46,5 @@ all.tex: all.mdwn
 notes: all.mdwn
        # List all the footnotes
        grep '^\[\^' all.mdwn|sort -n -k 1.3
+
+