>>> an extra "-" in the install-configure target. It was causing the build
>>> to fail when using DESTDIR.
cs> install-configure:
cs> @echo
cs> $(MAKE) -$(MAKEFLAGS) install-configure-local DESTDIR=$(DESTDIR)
>> Your make is broken. The - is required.
It's incorrect to use MAKEFLAGS explicitly on a submake invocation like
this.
Make is designed to transmit information about the invoking commandline,
including flags and variable overrides, via the _environment_. That is,
the MAKEFLAGS variable is set appropriately, and put into the
environment of each subprocess. If the subprocess is another instance
of make, it will examine that variable in its environment, retrieve
those values, and treat them as if they were provided on the command
line.
Thus, you should never put $(MAKEFLAGS) explicitly in a submake
invocation like that. Submakes should always be invoked simply as
$(MAKE), plus any extra targets or variables.
The only time you should use MAKEFLAGS is if you want to override some
flags the user provided.
HTH.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make