[csw-maintainers] excluding components from a package
Dagobert Michelsen
dam at opencsw.org
Tue Jul 30 22:33:39 CEST 2013
Hi Peter,
Am 30.07.2013 um 22:31 schrieb Peter FELECAN <pfelecan at opencsw.org>:
> Dagobert Michelsen <dam at opencsw.org> writes:
>
>> Hi Peter,
>>
>> Am 30.07.2013 um 20:20 schrieb Peter FELECAN <pfelecan at opencsw.org>:
>>> I have an issue as follows:
>>>
>>> - package pp has in its PKGFILES a set of files fp, explicitly defined
>>> - package pd has in its PKGFILES a set of file fd, implicitly defined
>>> through PKGFILES_DEVEL macro
>>> - the packages are defined in pp, pd order
>>> - the fp set is include in the fd set
>>>
>>> How can I exclude from fd the content of fp, i.e. complement it?
>>>
>>> Is there a known way or should I resort to my magic wand?
>>
>>
>> No magic wand needed :-)
>>
>> You can either use the respective expression from PKGFILES_DEVEL explicitly
>> or reset the components from PKGFILES_DEVEL to empty which belong to fp as
>> in the composite variable defined here:
>> http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.pkg.mk#L383
>> like
>> PKGFILES_DEVEL_LIBTOOL =
>> to exclude *.la files from fd.
>
> I'm not sure that this will do as fp is composed of include files,
> sub-tree of $(includedir), and fd contains all the relevant files from
> $(includedir). This is why I thought about the magic wand. In fact the
> question is how to exclude from pd some sub-trees.
I see. Unfortunately there is no easy way for that, you must restrict the included
pathes for fd to be disjunct with fp manually. Sorry.
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
More information about the maintainers
mailing list