[csw-maintainers] GAR modulations questions
Dagobert Michelsen
dam at opencsw.org
Wed Oct 7 14:51:56 CEST 2009
Hi Maciej,
Am 06.10.2009 um 19:33 schrieb Maciej (Matchek) Blizinski:
> On Tue, Oct 6, 2009 at 6:18 PM, Dagobert Michelsen <dam at opencsw.org>
> wrote:
>> Ok. But allow me the comment that this is a real special case.
>
> OK, I understand.
>
>> MERGE_SCRIPTS_isa-i386-garversion-2.0.1 = copy-all
>> MERGE_SCRIPTS_isa-amd64-garversion-2.0.1 = copy-relocated-only
>> MERGE_DIRS_isa-amd64-garversion-2.0.1 = $(bindir) $(sbindir) $
>> (libexecdir) $(libdir)
>
> More questions are coming:
>
> Why are MERGE_DIRS needed? How do I make sure I have the right ones?
Remember pages 46/47 from the Advanced GAR presentation:
<http://gar.sourceforge.net/AdvancedGAR.pdf>
You need the dirs for the rules "copy-only" and "copy-relocated-only".
They specify which directories from the installed files for that
modulation will go into the package. Usually you use this for stuff
which is somewhat "extra" to the package: extra (older) libraries,
extra (64 bit) binaries etc. The default can be thought of
$(bindir) $(sbindir) $(libexecdir) $(libdir)
which basically means "everything sensible". If you want only libs
(e. g. when doing 64 bits) and no executable you do
$(libdir)
I have started to write this up at
<https://sourceforge.net/apps/trac/gar/wiki/Modulations>
(Don't look yet, I have *just* started ;-)
Best regards
-- Dago
More information about the maintainers
mailing list