diff options
author | Werner Koch <wk@gnupg.org> | 2007-05-09 13:01:33 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-05-09 13:01:33 +0200 |
commit | edb3dc99e9833136a7454561d8e0845aa9e55609 (patch) | |
tree | 112160d61c00df7b476409a698f746b07076e20c /doc/Makefile.am | |
parent | Add a howto section. (diff) | |
download | gnupg2-edb3dc99e9833136a7454561d8e0845aa9e55609.tar.xz gnupg2-edb3dc99e9833136a7454561d8e0845aa9e55609.zip |
Preparing 2.0.4gnupg-2.0.4
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}/ |