From 0a782154d6bee97a2ee20dad9e06f177d3f0c082 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 14 Nov 2010 14:48:45 +0000 Subject: [PATCH] Let the webserver target update the user-manual symlink automatically. As a bonus this prevents the webserver target from overwriting whatever the user-manual symlink currently points to, usually the documentation from the previous release. --- GNUmakefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 07451cf8..0ad99128 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -616,9 +616,12 @@ webserver: tidy @$(ECHO) Please make sure your documentation files are up to date. @$(ECHO) Note that this command updates the home page and scps @$(ECHO) all stuff to the webserver, it will not remove obsolete documents. - @$(ECHO) You will also need to change the user-manual symlink manually. @$(ECHO) ------------------------------------------------------- + @$(ECHO) Replacing the user-manual symlink + @$(SSH) shell.sourceforge.net "cd /home/groups/i/ij/ijbswa/htdocs && rm user-manual \ + && mkdir -p $(VERSION)/user-manual && ln -s $(VERSION)/user-manual user-manual" + @$(ECHO) Uploading html @cd doc/webserver; \ upload=`find . -type f -a -not \( -path "*/CVS*" -o -path "*/results*" \)`; \ -- 2.39.2