X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=fiction%2FKate-the-Empress.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=093ca3c3889174f9127e959b769ad9af9200e225;hp=b479d1a33875a1ab16495fe61fb304c2095fb7d6;hb=8e43b02a8774406f34725a601ee294953dcb097b;hpb=47ebca10ae003fbfb18ae3f0da8e65ebaae9438d diff --git a/Makefile b/Makefile index b479d1a..093ca3c 100644 --- 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