summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Arlt <reinhard.arlt@t-online.de>2012-08-22 08:48:50 +0200
committerReinhard Arlt <reinhard.arlt@t-online.de>2012-08-22 08:48:50 +0200
commit94ee992380a979e61925f5cb44b3beef7e2d7dbf (patch)
tree788e904b9d0d8bdb8f915e53017d166fc019f185
parentcbd638fef5da210f82565a35906746351f6cc85f (diff)
parent7015446c9c37aa111a751f1cc6566d08f3ebe69f (diff)
downloadgpsd-94ee992380a979e61925f5cb44b3beef7e2d7dbf.tar.gz
Merge branch 'master' of git://git.sv.gnu.org/gpsd
-rw-r--r--SConstruct11
1 files changed, 6 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index 30db2ad4..23d6f181 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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):