[csw-maintainers] GAR: BUILD_ARGS when custom build scripts

Maciej (Matchek) Bliziński maciej at opencsw.org
Sat Jun 9 15:50:17 CEST 2012


2012/6/9 Peter FELECAN <pfelecan at opencsw.org>
>
> > 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)


More information about the maintainers mailing list