Add a web-user-manual target that uses rsync
authorFabian Keil <fk@fabiankeil.de>
Sat, 24 Jan 2015 16:39:53 +0000 (16:39 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sat, 24 Jan 2015 16:39:53 +0000 (16:39 +0000)
GNUmakefile.in

index cac549d..9718cd5 100644 (file)
@@ -1,6 +1,6 @@
 # Note:  Makefile is built automatically from Makefile.in
 #
 # 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/
 #
 # 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'
 
        @$(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.
 #############################################################################
 #
 # Try to clean up the generated HTML files.