X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=fiction%2FKate-the-Empress.git;a=blobdiff_plain;f=Makefile;h=093ca3c3889174f9127e959b769ad9af9200e225;hp=b479d1a33875a1ab16495fe61fb304c2095fb7d6;hb=HEAD;hpb=0997d405d8727227d201acfda5159617e863c231 diff --git a/Makefile b/Makefile index b479d1a..2b482bc 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 @@ -24,7 +30,7 @@ fb2lint: Kate-the-Empress.fb2 $(wildcard *.xsd) xmllint --schema FictionBook2.1.xsd Kate-the-Empress.fb2 >/dev/null 2>$@ onefile.tex: joinfiles.awk $(wildcard *.tex) - awk -f joinfiles.awk book.tex > $@ + awk -f joinfiles.awk book.tex |sed -e 's!<>!»!g' > $@ clean: rm -f onefile.tex book.log book.aux book.out book.toc Kate-the-Empress.fb2 fb2lint