]> www.wagner.pp.ru Git - fiction/jasmina.git/blobdiff - Makefile
Fix publish target in the makefile according to new dav server layout
[fiction/jasmina.git] / Makefile
index e5f2b735eb95ed395b8b2cd89166693a085092c9..bcffbe5c56d2535346aa60cb0bc128aa7fdf7c5e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 SRC_URL=http://www.wagner.pp.ru/~vitus/fiction
-UPLOAD_URL=https://www.wagner.pp.ru/dav/vitus/fiction
+UPLOAD_URL=https://dav.wagner.pp.ru/vitus/fiction
 ID=90860948-65dc-11e5-bd77-bc5ff453db06
 VERSION=0.$(shell date +%s)
 
@@ -9,7 +9,7 @@ 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
+       for i in $^; do curl --digest -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 > $@