[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Scons Dist
From: |
Robert Norris |
Subject: |
Re: [gpsd-users] Scons Dist |
Date: |
Sun, 22 Jan 2017 20:32:43 +0000 |
Lee, you could try amending the SConstruct file like this to avoid needing the
generated manpages in the tarball. e.g.
diff --git a/SConstruct b/SConstruct
index b6606f52..163ef03c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2281,7 +2281,8 @@ if os.path.exists("gpsd.c") and
os.path.exists(".gitignore"):
if ".gitignore" in distfiles:
distfiles.remove(".gitignore")
distfiles += generated_sources
- distfiles += base_manpages.keys() + python_manpages.keys()
+ if env['manbuild']:
+ distfiles += base_manpages.keys() + python_manpages.keys()
distfiles.remove("gpsd.h")
if "packaging/rpm/gpsd.spec" not in distfiles:
distfiles.append("packaging/rpm/gpsd.spec")
Or indeed just comment out that line.
HTH.
--
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.