From: Fabian Keil Date: Sat, 24 Jan 2015 16:39:53 +0000 (+0000) Subject: Add a web-user-manual target that uses rsync X-Git-Tag: v_3_0_23~18 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=70b1d7f85d55edbece00636c456fd032685daf44 Add a web-user-manual target that uses rsync --- 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.