equal
deleted
inserted
replaced
66 |
66 |
67 # For SEO reason I removed tips from SF. |
67 # For SEO reason I removed tips from SF. |
68 .PHONY: deploy |
68 .PHONY: deploy |
69 deploy: deploy2defun-web deploy2defun-hg # deploy2sf-web deploy2sf-hg |
69 deploy: deploy2defun-web deploy2defun-hg # deploy2sf-web deploy2sf-hg |
70 |
70 |
|
71 RSYNC_FLAGS := --delete -avP -e ssh --exclude "google*.html" --exclude "BingSiteAuth.xml" |
|
72 |
71 # Will be accessible via: http://tips.defun.work/ |
73 # Will be accessible via: http://tips.defun.work/ |
72 .PHONY: deploy2defun-web |
74 .PHONY: deploy2defun-web |
73 deploy2defun-web: www |
75 deploy2defun-web: www |
74 rsync --delete -avP -e ssh $(HTML_DIR)/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/ |
76 rsync $(RSYNC_FLAGS) $(HTML_DIR)/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/ |
75 |
77 |
76 .PHONY: deploy2defun-hg |
78 .PHONY: deploy2defun-hg |
77 deploy2defun-hg: |
79 deploy2defun-hg: |
78 hg push ssh://$(HG_SRV_USER)@$(HG_SRV_NAME)//srv/hg/tips || [ $$? = 1 ] |
80 hg push ssh://$(HG_SRV_USER)@$(HG_SRV_NAME)//srv/hg/tips || [ $$? = 1 ] |
79 |
81 |
80 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/ |
82 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/ |
81 .PHONY: deploy2sf-web |
83 .PHONY: deploy2sf-web |
82 deploy2sf-web: www |
84 deploy2sf-web: www |
83 rsync --delete -avP -e ssh $(HTML_DIR)/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/ |
85 rsync $(RSYNC_FLAGS) $(HTML_DIR)/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/ |
84 |
86 |
85 .PHONY: deploy2sf-hg |
87 .PHONY: deploy2sf-hg |
86 deploy2sf-hg: |
88 deploy2sf-hg: |
87 hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips || [ $$? = 1 ] |
89 hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips || [ $$? = 1 ] |
88 |
90 |