Use HTML_DIR variable instead of exact value.
--- a/Makefile Mon Feb 22 14:21:18 2016 +0200
+++ b/Makefile Wed Feb 24 21:50:25 2016 +0200
@@ -70,7 +70,7 @@
# Will be accessible via: http://tips.defun.work/
.PHONY: deploy2defun-web
deploy2defun-web: html
- rsync --delete -avP -e ssh tips-html/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/
+ rsync --delete -avP -e ssh $(HTML_DIR)/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/
.PHONY: deploy2defun-hg
deploy2defun-hg:
@@ -79,7 +79,7 @@
# Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/
.PHONY: deploy2sf-web
deploy2sf-web: html
- rsync --delete -avP -e ssh tips-html/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/
+ rsync --delete -avP -e ssh $(HTML_DIR)/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/
.PHONY: deploy2sf-hg
deploy2sf-hg:
@@ -87,7 +87,7 @@
.PHONY: deploy2local
deploy2local: html
- rsync --delete -avP tips-html/ $(LOCAL_DIR)
+ rsync --delete -avP $(HTML_DIR)/ $(LOCAL_DIR)
################################################################
# Build targets.