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: Thu, 05 Aug 2021 11:55:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)

Greg Troxel <gdt@lexort.com> writes:

>> 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?
>
> I think that has an extra include, as includedir is already
> $prefix/include.  But I'll check that again more carefully.

Doing a build and install with the above change resulted in
/usr/pkg/include/include/gps.h, so there is a double include.   Which
interestingly caused whatever mechanism that added the spurious
build-time install not to fire.

Attachment: signature.asc
Description: PGP signature


reply via email to

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