aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-14 19:28:16 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-14 19:28:16 -0200
commit4705d861b56fbec26ac0dee8749b74dade3c25c1 (patch)
treeea8bcaa78183eeeebab2a84aa17e18c45f97ea81
parent02fd4b1ffc1e57ae393b765dc4451b66d21b6238 (diff)
downloadkeyringer-4705d861b56fbec26ac0dee8749b74dade3c25c1.tar.gz
keyringer-4705d861b56fbec26ac0dee8749b74dade3c25c1.tar.bz2
Avoid hyphen-used-as-minus-sign lintian warning
-rw-r--r--Makefile3
-rw-r--r--share/man/keyringer.12
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0d2ef3a..8ec01c2 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,10 @@ install: clean
@make install_lib install_bin install_doc install_man install_completion
build_man:
+ # Pipe output to sed to avoid http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html
+ # Fixed in http://johnmacfarlane.net/pandoc/releases.html#pandoc-1.10-2013-01-19
pandoc -s -w man share/man/keyringer.1.mdwn -o share/man/keyringer.1
+ sed -i -e 's/--/\\-\\-/g' share/man/keyringer.1
tarball:
git archive --prefix=keyringer-$(VERSION)/ --format=tar HEAD | bzip2 >../tarballs/keyringer-$(VERSION).tar.bz2
diff --git a/share/man/keyringer.1 b/share/man/keyringer.1
index c3fbc54..99a49bc 100644
--- a/share/man/keyringer.1
+++ b/share/man/keyringer.1
@@ -246,7 +246,7 @@ Metadata is not encrypted, meaning that an attacker with access to a
keyringer repository can discover all public key IDs used for
encryption, and which secrets are encrypted to which keys.
This can be improved in the future by encrypting the repository
-configuration with support for the \f[I]--hidden-recipient\f[] GnuPG
+configuration with support for the \f[I]\-\-hidden-recipient\f[] GnuPG
option.
.IP "2." 3
History is not rewritten by default when secrets are removed from a