X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=fiction%2Fjasmina.git;a=blobdiff_plain;f=Makefile;h=e5f2b735eb95ed395b8b2cd89166693a085092c9;hp=a73fdb59a5ac0272c12f5bff43f2ee47b6990e55;hb=d810a1d770337b38f3feb2b622dc6864809a4d2a;hpb=b5252aef3418d484990bd86fc1a84b52e68a18d9 diff --git a/Makefile b/Makefile index a73fdb5..e5f2b73 100644 --- 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//*(Фрагмент недописан)*/' "$$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 + +