diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-08-01 17:33:44 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-08-21 11:52:41 -0400 |
commit | 7015446c9c37aa111a751f1cc6566d08f3ebe69f (patch) | |
tree | 7dbcf1393f4f1d7183344529bacc44cfdba0d57d /SConstruct | |
parent | f818be7fc3f832c3d71a8f45947e150326a031f7 (diff) | |
download | gpsd-7015446c9c37aa111a751f1cc6566d08f3ebe69f.tar.gz |
always install the man pages
Since we maintain local copies, don't require xmlto/xsltproc in
order to install them. This makes packaging simpler.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1241,11 +1241,12 @@ if qt_env: maninstall = [] -if manbuilder: - for manpage in base_manpages.keys() + python_manpages.keys(): - section = manpage.split(".")[1] - dest = os.path.join(installdir('mandir'), "man"+section, manpage) - maninstall.append(env.InstallAs(source=manpage, target=dest)) +for manpage in base_manpages.keys() + python_manpages.keys(): + if not manbuilder and not os.path.exists(manpage): + continue + section = manpage.split(".")[1] + dest = os.path.join(installdir('mandir'), "man"+section, manpage) + maninstall.append(env.InstallAs(source=manpage, target=dest)) install = env.Alias('install', binaryinstall + maninstall + python_install + pc_install + headerinstall) def Uninstall(nodes): |