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: Gary E. Miller
Subject: Re: spurious install of ${prefix}/include/gps.h
Date: Wed, 4 Aug 2021 19:18:25 -0700

Yo Greg!

> So it looks like somehow the install rule for ${prefix}/include/gps.h
> got added to the build target.

Yes,  these lines:

headerinstall = [env.Install(installdir('includedir'), x)
                 for x in ("include/libgpsmm.h", "include/gps.h")]

Change gps.h to gpsX.h, and then build works fine!  Of course then
the install fails.

I found this worked for me instead:

headerinstall = []
headerinstall.append(Command(installdir('includedir') + "/include/gps.h",
                             "include/gps.h", Copy("$TARGET", "$SOURCE")))
headerinstall.append(Command(installdir('includedir') + "/include/libgpsmm.h",
                             "include/libgpsmm.h", Copy("$TARGET", "$SOURCE")))

Does that work for you?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpao2r_PftO6.pgp
Description: OpenPGP digital signature


reply via email to

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