bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install: install-am dependency absent from Makefile.in


From: Tom Tromey
Subject: Re: install: install-am dependency absent from Makefile.in
Date: 17 Jun 2001 22:13:06 -0600

>>>>> "Eric" == Eric Magnien <address@hidden> writes:

Eric> When I add these lines to a Makefile.am:
Eric> install: install-foo
Eric> install-foo:
Eric>   true

This won't work.

Eric> This problem (is it a problem or a feature?) did not occur with
Eric> automake-1.4d.  It occurs with 1.4f and 1.4g (on i586-linux-gnu
Eric> and mips-sgi-irix6.2 machines)

I'm suprised this ever worked.

Automake lets you override targets it generates with targets of your
own.  However, it is nearly always a bad idea to actually do this.

If you really need your own install target, use install-exec-local or
install-data-local.  (FYI your above code broke the `install-exec' and
`install-data' targets...)

I'm pretty sure -local targets are documented in the manual.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]