Makefile
changeset 558 53fd793e345d
parent 557 d7a42a700255
child 564 93d0bdb815a1
--- a/Makefile	Thu Sep 15 20:04:14 2016 +0300
+++ b/Makefile	Thu Sep 15 20:13:18 2016 +0300
@@ -172,6 +172,9 @@
 .PHONY: deploy
 deploy: deploy2defun deploy2sf
 
+.PHONY: deploy-hg
+deploy-hg: deploy2defun-hg deploy2sf-hg
+
 .PHONY: release
 release: release2defun release2sf
 
@@ -190,10 +193,10 @@
 DEFUN_REL_DIR ?= /srv/www/gadict/download
 
 .PHONY: deploy2defun
-deploy2defun: deploy2defun-www deploy2defun-dist deploy2defun-src
+deploy2defun: deploy2defun-www deploy2defun-dist deploy2defun-hg
 
-.PHONY: deploy2defun-src
-deploy2defun-src:
+.PHONY: deploy2defun-hg
+deploy2defun-hg:
 	hg push ssh://$(DEFUN_USER)@$(DEFUN_HG_SRV)/$(DEFUN_HG_DIR) || [ $$? = 1 ]
 
 .PHONY: deploy2defun-www
@@ -229,10 +232,10 @@
 # Next time any action fully automated.
 
 .PHONY: deploy2sf
-deploy2sf: deploy2sf-www deploy2sf-dist deploy2sf-voa deploy2sf-src
+deploy2sf: deploy2sf-www deploy2sf-dist deploy2sf-voa deploy2sf-hg
 
-.PHONY: deploy2sf-src
-deploy2sf-src:
+.PHONY: deploy2sf-hg
+deploy2sf-hg:
 	hg push ssh://$(SF_USER)@hg.code.sf.net/p/$(pkgname)/code || [ $$? = 1 ]
 
 # Will be accessed via http://$(pkgname).sourceforge.net