From 70b1d7f85d55edbece00636c456fd032685daf44 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 24 Jan 2015 16:39:53 +0000 Subject: [PATCH] Add a web-user-manual target that uses rsync --- GNUmakefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index cac549dd..9718cd5e 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,6 +1,6 @@ # Note: Makefile is built automatically from Makefile.in # -# $Id: GNUmakefile.in,v 1.227 2014/10/21 15:31:05 fabiankeil Exp $ +# $Id: GNUmakefile.in,v 1.228 2014/10/21 15:31:16 fabiankeil Exp $ # # Written by and Copyright (C) 2001-2014 members of the # Privoxy team. http://www.privoxy.org/ @@ -646,6 +646,12 @@ web-faq: @$(ECHO) Enforcing reasonable permissions ... @$(SSH) shell.sourceforge.net 'find $(WWW_ROOT)/htdocs/faq/ -type f | xargs chmod 664 2>/dev/null' +web-user-manual: + @$(ECHO) Updating the user manual on the webserver (do not use in case of version changes) ... + @$(RSYNC) doc/webserver/user-manual/*.html shell.sourceforge.net:$(WWW_ROOT)/htdocs/user-manual/ + @$(ECHO) Enforcing reasonable permissions ... + @$(SSH) shell.sourceforge.net 'find $(WWW_ROOT)/htdocs/user-manual/ -type f | xargs chmod 664 2>/dev/null' + ############################################################################# # # Try to clean up the generated HTML files. -- 2.39.2