bug-coreutils
[Top][All Lists]
Advanced

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

Re: GNUmakefile and VPATH


From: Ralf Wildenhues
Subject: Re: GNUmakefile and VPATH
Date: Tue, 4 Mar 2008 15:52:52 +0100
User-agent: Mutt/1.5.17 (2008-02-27)

Hi Eric,

* Eric Blake wrote on Tue, Mar 04, 2008 at 02:57:51PM CET:
> According to Jim Meyering on 3/4/2008 4:37 AM:
> |>> +      [AC_CONFIG_LINKS([GNUmakefile:GNUmakefile])])
> |> Until Automake is fixed, this will cause
> |>   ./configure && make distclean
> |>
> |> to bogusly remove GNUmakefile.
> |
> | Rats!  Thanks for the heads-up, Ralf.
>
> However, the automake manual states that "parts of the specification using
> shell variables will be ignored as far as cleaning and distributing is
> concerned".  So how about this workaround?

Looks ok to me provided you've tested it, though I'd really rather
  GNUmakefile=GNUmakefile
  ... AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile])

> (Should we also have a distclean-local rule in Makefile.am that removes
> the GNUmakefile symlink in VPATH builds, but is a no-op in in-place builds?)

That's exactly the way I want to fix it in Automake.

Cheers,
Ralf

> * configure.ac (AC_CONFIG_LINKS): Use shell variable to bypass
> automake distclean rules.




reply via email to

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