diff options
author | Reinhard Arlt <reinhard.arlt@t-online.de> | 2012-08-22 08:48:50 +0200 |
---|---|---|
committer | Reinhard Arlt <reinhard.arlt@t-online.de> | 2012-08-22 08:48:50 +0200 |
commit | 94ee992380a979e61925f5cb44b3beef7e2d7dbf (patch) | |
tree | 788e904b9d0d8bdb8f915e53017d166fc019f185 | |
parent | cbd638fef5da210f82565a35906746351f6cc85f (diff) | |
parent | 7015446c9c37aa111a751f1cc6566d08f3ebe69f (diff) | |
download | gpsd-94ee992380a979e61925f5cb44b3beef7e2d7dbf.tar.gz |
Merge branch 'master' of git://git.sv.gnu.org/gpsd
-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): |