[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: liboauth (Updated package)



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

Paul Wise wrote:

>>> How are you building the manual page? Your Makefile.am doesn't list
>>> any commands for doing so.
>> The top-level Makefile.am contains:
>>
>> stamp-doxygen: src/oauth.h doc/mainpage.dox
>>  $(DOXYGEN) Doxyfile && touch stamp-doxygen
>>  cp doc/man/man3/oauth.h.3 doc/oauth.3
> 
> Aha, well you could add a sed command to the end of that.

There are a lot of hypens that should not be replaced: doxygen escapes
it correctly in the title and minus-signs are used in numeric [troff]
expressions (fi. '.ti -1c') or font-size adjustments (s-1); besides it's
correct in most cases: They're hyphens not a minus-signs.

A simple 's/-/\\-/g' would make things worse.

Turning the code from /usr/share/lintian/checks/manpage into a sed
regexp is not something to be done on a lazy Sunday afternoon.

However I came up with a pragmatic regexp that fixes liboauth's man
page. liboauth-0.8.5 is up.

Thanks for all the comments, I learned quite a few new details.
Cheers!
robin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkv5RvMACgkQeVUk8U+VK0J+ZwCeIOxTmZ6Cgprz3x3labnYLWOV
+3YAnRTnyozlonxU8IiYKbc0GHRAVzX6
=nLlB
-----END PGP SIGNATURE-----


Reply to: