2017-06-28 01:33:08 +02:00
|
|
|
$NetBSD: patch-setup.py,v 1.2 2017/06/27 23:33:08 wiedi Exp $
|
2017-05-25 08:38:44 +02:00
|
|
|
|
|
|
|
Use the same man directory across all platforms.
|
|
|
|
|
2017-06-28 01:33:08 +02:00
|
|
|
--- setup.py.orig 2016-10-10 19:21:11.000000000 +0000
|
2017-05-25 08:38:44 +02:00
|
|
|
+++ setup.py
|
|
|
|
@@ -185,10 +185,7 @@ if using_sphinx:
|
|
|
|
build.sub_commands.insert(0, ('build_sphinx_man', None))
|
|
|
|
cmdclass['build_sphinx_man'] = BuildDocMan
|
|
|
|
|
|
|
|
- if platform.system() in ['FreeBSD', 'OpenBSD']:
|
|
|
|
- man_dir = 'man'
|
|
|
|
- else:
|
|
|
|
- man_dir = 'share/man'
|
2017-06-28 01:33:08 +02:00
|
|
|
+ man_dir = os.environ.get('PKGMANDIR', 'man')
|
2017-05-25 08:38:44 +02:00
|
|
|
|
|
|
|
# manual pages
|
|
|
|
man_pages = [
|