Fix: do not mess up project root with LaTeX related files.
--- a/Makefile Fri Oct 21 20:58:36 2016 +0300
+++ b/Makefile Fri Oct 21 23:15:45 2016 +0300
@@ -253,7 +253,7 @@
.PHONY: deploy2sf-voa
deploy2sf-voa: voa
( echo 'cd htdocs'; \
- echo "put voa-special.pdf"; \
+ echo "put dist/pdf/voa-special.pdf"; \
echo "chmod 644 voa-special.pdf"; \
echo 'quit'; \
) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net
@@ -549,10 +549,13 @@
convert +antialias -background transparent $< -resize $* $@
.PHONY: voa
-voa: voa-special.pdf
+voa: dist/pdf/voa-special.pdf
-voa-special.pdf: contrib/voa-special.tex
- $(LATEX2PDF) -output-directory . $<
+dist/pdf/voa-special.pdf: contrib/voa-special.tex | dist/pdf/
+ $(LATEX2PDF) -output-directory dist/pdf/ $<
+
+dist/pdf/:
+ mkdir -p $@
################################################################
# Helpers targets.