This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Automake Bug?


It seems that automake creates makefiles which call themselves with
different targets for the install target, which subsequently causes it to
loose DESTDIR support.  I'm looking at the Makefiles from GNU grep right
now.  Here's the offending section:

install-am: all-am
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am

Now, maybe I'm misunderstanding Make's macro-passing, but in order for
the DESTDIR passed to the make in the first place, doesn't the @$(MAKE)
line need something like 'DESTDIR=$(DESTDIR)' ?  Would this be the
correct way to fix this?

I'm working with
automake (GNU automake) 1.4

and

grep (GNU grep) 2.4

Wil
-- 
W. Reilly Cooley                         wcooley@nakedape.cc
Naked Ape Consulting                      http://nakedape.cc
LNXS: Linux/GNU for servers, networks, and   http://lnxs.org
people who take care of them.  *Now with integrated crypto!*
irc.openprojects.net                                   #lnxs

I go on working for the same reason a hen goes on laying eggs.
		-- H.L. Mencken


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]