scons/scons-3.0.0-fix-install.patch

27 lines
1.1 KiB
Diff

---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: scons-3.0.0/setup.py
===================================================================
--- scons-3.0.0.orig/setup.py
+++ scons-3.0.0/setup.py
@@ -386,7 +386,7 @@ class install_data(_install_data):
if is_win32:
dir = 'Doc'
else:
- dir = os.path.join('man', 'man1')
+ dir = os.path.join('share', 'man', 'man1')
self.data_files = [(dir, man_pages)]
man_dir = os.path.join(self.install_dir, dir)
msg = "Installed SCons man pages into %s" % man_dir
@@ -506,7 +506,7 @@ arguments = {
'docbook-xsl-1.76.1/xhtml/*',
'docbook-xsl-1.76.1/xhtml-1_1/*',
'utils/*']},
- 'data_files': [('man/man1', man_pages)],
+ 'data_files': [('share/man/man1', man_pages)],
'scripts': scripts,
'cmdclass': {'install': install,
'install_lib': install_lib,