diff -r 7526974e0e5b -r 7a5f4265a581 Makefile --- a/Makefile Tue Oct 13 16:57:47 2015 +0300 +++ b/Makefile Tue Oct 13 17:43:56 2015 +0300 @@ -107,6 +107,8 @@ endif RST2HTML_FLAGS := $(RST_FLAGS) +LATEX2PDF := pdflatex + ################################################################ # Install paths. @@ -168,7 +170,7 @@ # Next time any action fully automated. .PHONY: deploy2sf -deploy2sf: deploy2sf-src deploy2sf-doc deploy2sf-release +deploy2sf: deploy2sf-src deploy2sf-doc deploy2sf-voa deploy2sf-release .PHONY: deploy2sf-src deploy2sf-src: @@ -185,6 +187,15 @@ echo 'quit'; \ ) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net +.PHONY: deploy2sf-voa +deploy2sf-voa: voa + ( echo 'cd htdocs'; \ + echo "put voa-special.pdf"; \ + echo "chmod 644 voa-special.pdf"; \ +done; \ +echo 'quit'; \ +) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net + .PHONY: deploy2sf-release deploy2sf-release: deploy-check $(DIST_TARBALLS) $(DISTSRC_TARBALLS) ( echo 'cd /home/frs/project/$(shell v=$(pkgname); echo $${v:0:1}/$${v:0:2})/$(pkgname)'; \ @@ -323,6 +334,12 @@ $(LOGO_PNG_FILES): $(LOGO_NAME)-%.png: $(LOGO_SVG) convert +antialias -background transparent $< -resize $* $@ +.PHONY: voa +voa: voa-special.pdf + +voa-special.pdf: contrib/voa-special.tex + $(LATEX2PDF) -output-directory . $< + ################################################################ # Helpers targets. @@ -405,4 +422,5 @@ rm -f $(DICTDZ_FILES) $(INDEX_FILES) $(RST_GEN_FILES) $(RST_HTML_FILES) $(LOGO_PNG_FILES) rm -rf $(DIST_DIR) $(DIST_TARBALLS) rm -rf $(DISTSRC_DIR) $(DISTSRC_TARBALLS) + rm -f $(patsubst %, voa-special%, .pdf .log .out .aux)