# HG changeset patch # User Oleksandr Gavenko # Date 1456343425 -7200 # Node ID f753d84e666e00f484be187151a4b153d75d7f1b # Parent 46a080141f3aa68f836914e6cd8975310ea58210 Use HTML_DIR variable instead of exact value. diff -r 46a080141f3a -r f753d84e666e Makefile --- a/Makefile Mon Feb 22 19:56:10 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.