[Pkg-gnupg-commit] [gnupg2] 02/03: avoid trying to use help2man on non-existent binaries
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Mar 30 07:00:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit 78f785ed4f0d77a3d8a61ca60b6dee0467dbe796
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Wed Mar 30 02:58:43 2016 -0400
avoid trying to use help2man on non-existent binaries
---
debian/rules | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 717b137..498fa6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -74,10 +74,14 @@ override_dh_strip:
if [ -f debian/gpgv-win32/usr/share/win32/gpgv.exe ]; then strip debian/gpgv-win32/usr/share/win32/gpgv.exe fi
override_dh_installman:
- help2man --no-info -n "List, export, import Keybox data" \
- debian/tmp/usr/bin/kbxutil > debian/kbxutil.1
- help2man --no-info -n "Check a passphrase on stdin against the patternfile" \
- debian/tmp/usr/lib/gnupg2/gpg-check-pattern > debian/gpg-check-pattern.1
+ if [ -x debian/tmp/usr/bin/kbxutil ]; then \
+ help2man --no-info -n "List, export, import Keybox data" \
+ -o debian/kbxutil.1 debian/tmp/usr/bin/kbxutil; \
+ fi
+ if [ -x debian/tmp/usr/lib/gnupg2/gpg-check-pattern ]; then \
+ help2man --no-info -n "Check a passphrase on stdin against the patternfile" \
+ -o debian/gpg-check-pattern.1 debian/tmp/usr/lib/gnupg2/gpg-check-pattern; \
+ fi
dh_installman
override_dh_auto_test:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list