Push sources on 'deploy' target.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 19 Jul 2012 14:21:14 +0300
changeset 36 7fb39a216cef
parent 35 648d3bf5204d
child 37 98b4aa07729f
Push sources on 'deploy' target.
Makefile
--- a/Makefile	Sun Jul 15 14:50:25 2012 +0300
+++ b/Makefile	Thu Jul 19 14:21:14 2012 +0300
@@ -55,13 +55,17 @@
 endif
 
 .PHONY: deploy
-deploy: deploy2sourceforge
+deploy: deploy2sf-web deploy2sf-hg
 
 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html
-.PHONY: deploy2sourceforge
-deploy2sourceforge: html
+.PHONY: deploy2sf-web
+deploy2sf: html
 	rsync --delete -avP -e ssh tips-html/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/
 
+.PHONY: deploy2sf-hg
+deploy2sf-hg:
+	hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips
+
 ################################################################
 # Build targets.