"Maciej (Matchek) BliziĆski" <[email protected]> writes:
> 2012/6/9 Peter FELECAN <[email protected]>
>>
>> > When you say that you're using a custom build and you wish to pass
>> > specific arguments to all or some of the specific scripts, what do you
>> > mean by 'a script'?
>>
>> I mean 'target'. See autogen's recipe where the build is split in 4
>> targets, 3 of them having additional PATH set.
>
> Right, so you need custom build-* targets to do that.
>
> BUILD_SCRIPTS += foo
>
> build-foo:
> (cd $(WORKSRC); PATH=... gmake ...)
> @$(MAKECOOKIE)
This is what I've done. But there is the BUILD_ARGS variable which can
add extra arguments to the default build. My question is related to
this: how to add custom arguments to custom builds?
BTW, I use the following construct:
build-foo:
PATH="/opt/csw/gnu:$$PATH" $(MAKE) -C $(WORKSRC)
$(MAKECOOKIE)
which, for me, is a little bit more readable, but that is a question of
taste...
--
Peter
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.