Push sources on 'deploy' target.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 19 Jul 2012 14:21:14 +0300
changeset 1349 b4e60ae7e4bf
parent 1348 d1483dcbc702
child 1350 69dff9ee90aa
Push sources on 'deploy' target.
Makefile
--- a/Makefile	Wed Jul 18 15:44:36 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.