Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
[privoxy.git] / debian / patches / 33_manpage_hyphen.patch
1 From: Roland Rosenfeld <roland@debian.org>
2 Date: Thu, 24 Jan 2013 17:40:51 +0100
3 Subject: Replace all -- in man page by \-\- to make lintian happy.
4
5 --- a/GNUmakefile.in
6 +++ b/GNUmakefile.in
7 @@ -537,8 +537,7 @@ man: dok-release
8         perl -pi.bak -e "s/\[ /\[/g;s/á/\\\\['a]/g;s/é/\\\\['e]/g" $(MAN_PAGE); \
9         perl -pi.bak -e "s/ö/\\\\[:o]/g" $(MAN_PAGE); \
10         perl -pi.bak -e 's/([ {])-([a-z])/$$1\\-$$2/g' $(MAN_PAGE); \
11 -       perl -pi.bak -e 's/ --([a-z])/ \\-\\-$$1/g' $(MAN_PAGE); \
12 -       perl -pi.bak -e 's/\\fB--/\\fB\\-\\-/g' $(MAN_PAGE); \
13 +       perl -pi.bak -e 's/--/\\-\\-/g' $(MAN_PAGE); \
14         $(DB) ../privoxy-man-page.sgml && $(MV) -f $(MAN_PAGE) ../../../$(MAN_PAGE)
15  
16  # For those with man2html ala RH7s.