Printed VOA dictionary isn't going to change so there is no need to require
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 21 Oct 2017 22:14:55 +0300
changeset 956 36454643fec6
parent 955 a66c040fdb28
child 957 793cfb68fb1e
Printed VOA dictionary isn't going to change so there is no need to require LaTeX in built environment to make releases.
Makefile
--- a/Makefile	Sat Oct 21 22:02:25 2017 +0300
+++ b/Makefile	Sat Oct 21 22:14:55 2017 +0300
@@ -243,6 +243,9 @@
 DEFUN_WWW_DIR ?= /srv/www/gadict
 DEFUN_REL_DIR ?= /srv/www/gadict/download
 
+.PHONY: deploy2defun-full
+deploy2defun-full: deploy2defun deploy2defun-voa
+
 .PHONY: deploy2defun
 deploy2defun: deploy2defun-www deploy2defun-dist deploy2defun-hg deploy2defun-html
 
@@ -294,8 +297,11 @@
 # as it may require interactive input for accepting server public key.
 # Next time any action fully automated.
 
+.PHONY: deploy2sf-full
+deploy2sf-full: deploy2sf deploy2sf-voa
+
 .PHONY: deploy2sf
-deploy2sf: deploy2sf-www deploy2sf-dist deploy2sf-voa deploy2sf-hg deploy2sf-html
+deploy2sf: deploy2sf-www deploy2sf-dist deploy2sf-hg deploy2sf-html
 
 .PHONY: deploy2sf-hg
 deploy2sf-hg:
@@ -313,14 +319,6 @@
 echo 'quit'; \
 ) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net
 
-.PHONY: deploy2sf-voa
-deploy2sf-voa: voa
-	( echo 'cd htdocs'; \
-  echo "put dist/pdf/voa-special.pdf"; \
-  echo "chmod 644 voa-special.pdf"; \
-echo 'quit'; \
-) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net
-
 .PHONY: deploy2sf-dist
 deploy2sf-dist: $(DISTREL_TARBALLS) $(DISTSRC_TARBALLS)
 	( echo 'cd /home/frs/project/$(shell v=$(pkgname); echo $${v:0:1}/$${v:0:2})/$(pkgname)'; \
@@ -361,6 +359,31 @@
 esac
 
 ################################################################
+# Printed VOA dictionary isn't going to change so there is no need to require
+# LaTeX in built environment to make releases.
+
+.PHONY: deploy-voa
+deploy-voa: deploy2defun-voa deploy2sf-voa
+
+.PHONY: deploy2defun-voa
+deploy2sf-voa: voa
+	( \
+echo 'cd $(DEFUN_WWW_DIR)'; \
+echo "put dist/pdf/voa-special.pdf"; \
+echo "chmod 644 voa-special.pdf"; \
+echo 'quit'; \
+) | sftp -b - $(DEFUN_USER)@$(DEFUN_WWW_SRV)
+
+.PHONY: deploy2sf-voa
+deploy2sf-voa: voa
+	( \
+echo 'cd htdocs'; \
+echo "put dist/pdf/voa-special.pdf"; \
+echo "chmod 644 voa-special.pdf"; \
+echo 'quit'; \
+) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net
+
+################################################################
 # Dist targets.
 
 .PHONY: dist