equal
deleted
inserted
replaced
59 ifneq '' '$(filter deploy%,$(MAKECMDGOALS))' |
59 ifneq '' '$(filter deploy%,$(MAKECMDGOALS))' |
60 $(shell rm -f HEADER.rst) |
60 $(shell rm -f HEADER.rst) |
61 endif |
61 endif |
62 |
62 |
63 .PHONY: deploy |
63 .PHONY: deploy |
64 deploy: deploy2defun-web deploy2sf-web deploy2sf-hg |
64 deploy: deploy2defun-web deploy2defun-hg deploy2sf-web deploy2sf-hg |
65 |
65 |
66 # Will be accessible via: http://tips.defun.work/frame.html |
66 # Will be accessible via: http://tips.defun.work/frame.html |
67 .PHONY: deploy2defun-web |
67 .PHONY: deploy2defun-web |
68 deploy2defun-web: html |
68 deploy2defun-web: html |
69 rsync --delete -avP -e ssh tips-html/ user@vps:/srv/www/tips/ |
69 rsync --delete -avP -e ssh tips-html/ user@vps:/srv/www/tips/ |
|
70 |
|
71 .PHONY: deploy2defun-hg |
|
72 deploy2defun-hg: |
|
73 hg push ssh://user@hg.defun.work//srv/hg/tips || [ $$? = 1 ] |
70 |
74 |
71 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html |
75 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html |
72 .PHONY: deploy2sf-web |
76 .PHONY: deploy2sf-web |
73 deploy2sf-web: html |
77 deploy2sf-web: html |
74 rsync --delete -avP -e ssh tips-html/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/ |
78 rsync --delete -avP -e ssh tips-html/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/ |