-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trent W. Buck wrote:
>>> Probably, lintian is right. But, upstream ships man page gzipped... So, 
>>> patching man page
>>> will require unpack it, make several sed expressions (or duplicate right 
>>> man in debian/
>>> dir), say dh_installman explicitly use patched man page instead of original 
>>> one... IMHO,
>>> this minor warning doesn't cost these manipulations... Though, If you claim 
>>> that this is a
>>> significant, I'll fix it (may be, you know less expensive way to patch
>>> it?).
>> You can use some shell magic:
>>  gunzip blah.1.gz
>>  sed -i 's/\B-/\\-/g' blah.1
>>  [...]
>>  dh_installman blah.1
>>
>> You should of course check that sed is really doing its job.
> 
> Wouldn't it be better to generate an uncompressed manpage as part of the
> appropriate debian/rules rule, and then use a standard debian/patches
> utility (e.g. quilt) to escape only those hyphens that need it?
> 
> Something like (completely untested):
> 
>     ## Upstream ships compressed files within their tarball; boy are
>     ## they silly.
>     clean::
>       rm -f foo.1
>     build:: foo.1
>     foo.1:: foo.1.gz
>       gunzip -c $< >$@
> 
> 
Too complicated, as for me. For such a tiny package :) Moreover, mixing quilt 
(for one
patch) and debian/rules methods would lead me to add build-dependency on 
quilt... And
Vincent's method just works now :)

But thanks for look.

- --
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIXmTnchorMMFUmYwRAp5HAKDAHU6WiMsf4yYyPtJYdSQl6ePJSgCcD5xY
DgNFPZ1Yy5q5QI0RBWY1Ja8=
=43ul
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to