Deploy to local WEB server.
--- a/Makefile Mon Feb 22 10:55:12 2016 +0200
+++ b/Makefile Mon Feb 22 11:03:03 2016 +0200
@@ -60,6 +60,7 @@
WWW_SRV_USER := user
HG_SRV_NAME := hg.defun.work
HG_SRV_USER := user
+LOCAL_DIR := /srv/www/tips
ifneq '' '$(filter deploy%,$(MAKECMDGOALS))'
$(shell rm -f HEADER.rst)
@@ -86,6 +87,10 @@
deploy2sf-hg:
hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips || [ $$? = 1 ]
+.PHONY: deploy2local
+deploy2local: html
+ rsync --delete -avP tips-html/ $(LOCAL_DIR)
+
################################################################
# Build targets.