diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 13 |
1 files changed, 9 insertions, 4 deletions
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}/ |