Definitions of INSTALL

Laurynas Biveinis lauras@softhome.net
Tue Apr 3 12:14:00 GMT 2001


> If you have something which looks like a posix make, variables passed
> on the command lines are passed to submakes. You actually have to actively
> avoid that if you don't want that effect. 

Look at current Makefile.in - it explicitly lists each and every variable
passed down. I just accomodate its current style.

> In fact, doing
> ${MAKE} INSTALL=something
> from within a Makefile is plainly obnoxious, as it overrides whatever
> setting the guy who invoked the Makefile was wanting.

Exactly. That's why there are ugly constructs like:

        "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \

Which passes down LANGUAGES iff it is set. I will use it for my future
patches too, unless somebody has got a nicer one.

Laurynas




More information about the Gcc mailing list