]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Avoid hyphen-used-as-minus-sign lintian warning
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 14 Nov 2013 21:28:16 +0000 (19:28 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 14 Nov 2013 21:28:16 +0000 (19:28 -0200)
Makefile
share/man/keyringer.1

index 0d2ef3afc3b2c110f99b641542cfb36adb7e2f66..8ec01c257ee4bbd59afd6a9f5884837f058d689d 100644 (file)
--- 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
index c3fbc54120146c5c3c9d2e1fd7a430f62e668800..99a49bc594789bcb1c2fd4c8956ad77f87c6b680 100644 (file)
@@ -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