man files...

Michel Alexandre Salim salimma at fedoraproject.org
Sun May 6 03:04:43 UTC 2012


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

Hi Rob,

On 05/06/2012 07:52 AM, Rob Healey wrote:
> Greetings:
> 
> Could someone tell me which is more appropriate to do?  place
> project manual files in: 1) usr/share/man/lang/man1/gramps.1.gz,
> or 2) /usr/local/share/man/man1/gramps.1
> 
> Which format is also better *.gz or *.1 ???

The man directory should depend on the installation prefix (e.g.
system-packaged applications are compiled and installed with
- --prefix=/usr, so their manpages are in /usr/share/man/man*/... --
while the default prefix is normally /usr/local because user-installed
applications, by convention, are installed there).

The .1 is just because it's a section 1 manpage. If your manpage is
for section 2, it'd be in man2/foo.2 . RPM automatically compresses
the manpages using gzip when building a binary RPM, thus the .gz --
you don't need (and shouldn't) do that on your own.

Hope that helps,

- -- 
Michel Alexandre Salim
Fedora Project Contributor: http://fedoraproject.org/

Email:  salimma at fedoraproject.org  | GPG key ID: A36A937A
Jabber: hircus at jabber.ccc.de       | IRC: hircus at irc.freenode.net

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPpepLAAoJEEr1VKujapN62DEH/0zic+XdK7n80UxBJTH6Wgo6
UekGOcc9OoQ0kbywPBOibG6ZVqupVKcoDZdtcNbaiF+ElsA5yxgHIpOGbP5gsNFI
o5fwm9S1oBH9/9P2ss1WOs3c+/gPhnWk7kLBHSOpSSRy8F/VT8y9OxO4LecJStuQ
oVfJILjJ3ZDx85iiOXQhXeWDPyEAkSg64ymLOxuVg198zisKoyvAoniPluCISU/r
B+PfenwSjkT5NMeWYr57aRGgXJSFz97ZysM0IdaNX6M/U3SKLd5jT2kBJucbKx1Z
ZCisC06P5wQh79D80ggTEYo36wsglMd8aALx2Oxgqd8JDD24JdgWHpT/Cx0Ny8c=
=lUMy
-----END PGP SIGNATURE-----


More information about the test mailing list