gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spurious install of ${prefix}/include/gps.h


From: Greg Troxel
Subject: Re: spurious install of ${prefix}/include/gps.h
Date: Wed, 04 Aug 2021 10:33:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)

A further datapoint.  In trying to find out why the
${prefix}/include/gps.h target is added to the build target, I changed
the pathnames related to headers in two places.  The behavior remains
the same, still attempting to install to "include".

diff --git a/SConscript b/SConscript
index ef9b78e18..a699a3e85 100644
--- a/SConscript
+++ b/SConscript
@@ -419,7 +419,7 @@ pathopts = (
     ("bindir",       "bin",                "application binaries directory"),
     ("docdir",       "share/gpsd/doc",     "documents directory"),
     ("icondir",      "share/gpsd/icons",   "icon directory"),
-    ("includedir",   "include",            "header file directory"),
+    ("includedir",   "inclu",            "header file directory"),
     ("libdir",       "lib",                "system libraries"),
     ("mandir",       "share/man",          "manual pages directory"),
     ("pkgconfig",    "$libdir/pkgconfig",  "pkgconfig file directory"),
@@ -2447,7 +2447,7 @@ if qt_env:
 # It's deliberate that we don't install gpsd.h. It's full of internals that
 # third-party client programs should not see.
 headerinstall = [env.Install(installdir('includedir'), x)
-                 for x in ("include/libgpsmm.h", "include/gps.h")]
+                 for x in ("include/libgpsmm.h", "includ/gps.h")]
 
 binaryinstall = []
 binaryinstall.append(env.Install(installdir('sbindir'), sbin_binaries))

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]