bison-patches
[Top][All Lists]
Advanced

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

Re: += in Makefile.am


From: Akim Demaille
Subject: Re: += in Makefile.am
Date: 02 Sep 2002 10:04:19 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| > Cc: address@hidden
| > From: Akim Demaille <address@hidden>
| > Date: 28 Aug 2002 16:26:26 +0200
| > User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)
| > 
| > 
| > |   * lib/Makefile.am (libbison_a_SOURCES): Avoid +=, a GNU make extension.
| > |   * tests/Makefile.am (EXTRA_DIST): Likewise.
| > 
| > Nope, it's an Automake feature, and therefore, it was perfectly safe :)
| 
| Sorry, I don't understand this point (or perhaps I just don't get the
| humor?  it's late and I'm easily confused right now).
| 
| That patch is needed because the "+=" is copied from Makefile.am into
| Makefile.in and then into Makefile.  Some versions of "make" complain
| about "+=" and exit.

Sorry, I didn't mean make fun here :(  I really meant what I wrote:
Automake supports +=, and it should not copy them in the output.

  src/bison-cvs/lib % fgrep += Makefile.am
  libbison_a_SOURCES += \
  libbison_a_SOURCES += \
  libbison_a_SOURCES += \
  src/bison-cvs/lib % fgrep += Makefile.in

What version of Automake were you using?

  src/bison-cvs/lib % automake --version
  automake (GNU automake) 1.6a
  Written by Tom Tromey <address@hidden>.
  
  Copyright 2002 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I have the same result with 1.6.3.




reply via email to

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