Papalagi Pakeha wrote:
Hi all,
how can I tell setup() in distutils' setup.py to install manual pages
of my program? I.e. prgclient.1 to /.../man/man1 and prgdaemon.8 to
/.../man/man8? The problem is that those /.../ directories may be
different on every system, for instance /usr/share/man on OpenSUSE and
/usr/man on Solaris. Is there a way to automatically put the manpages
to their proper directories?
Looking at
http://docs.python.org/dist/dist.html , it seams highly
unlikely that such a syntax exists IMHO. I myself would just install it
to share/man/man? since that is the path specified in the FHS [1].
setup.py being a python program, you could just as well check for the
existence or /use/share/man and /usr/man.
Thomas Jollans
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD4DBQFGc8bkJpinDvQhQ0sRAuIzAJ9Dcr6UvRcxquQztK2hK4 TuyvlZ6wCY5Ius
1LpMVZZG5mEw744XRneJNA==
=dBvG
-----END PGP SIGNATURE-----