From edb3dc99e9833136a7454561d8e0845aa9e55609 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 9 May 2007 11:01:33 +0000 Subject: Preparing 2.0.4 --- doc/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index 0a588474f..feb3b7713 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -142,8 +142,13 @@ online: gnupg.html gnupg.pdf set -e; \ echo "Uploading current manuals to www.gnupg.org ..."; \ cp gnupg-logo.png gnupg.html/; \ - user=werner ; \ - (cd gnupg.html && rsync -vr --exclude='.svn' . \ - $${user}@cvs.gnupg.org:webspace/manuals/gnupg/ ); \ - rsync -v gnupg.pdf $${user}@cvs.gnupg.org:webspace/manuals/ + user=werner ; dashdevel="" ; \ + if echo "@PACKAGE_VERSION@" | grep -- "-svn" >/dev/null; then \ + dashdevel="-devel" ; \ + else \ + rsync -v gnupg.pdf $${user}@cvs.gnupg.org:webspace/manuals/ ; \ + fi ; \ + cd gnupg.html ; \ + rsync -vr --exclude='.svn' . \ + $${user}@cvs.gnupg.org:webspace/manuals/gnupg$${dashdevel}/ -- cgit v1.2.3