bug-make
[Top][All Lists]
Advanced

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

Re: Only one pattern-specific variable assignment per target?


From: Paul D. Smith
Subject: Re: Only one pattern-specific variable assignment per target?
Date: Tue, 6 Nov 2001 10:24:10 -0500

%% Jonathan Kamens <address@hidden> writes:

  jk> Alas, we've found another problem with pattern-specific variable
  jk> assignments in 3.79.1 that is independent of my fix and that I don't
  jk> have time to debug right now.  If you put this into a Makefile:

  jk>   a.b:
  jk>     echo $(RULE)

  jk>   RULE = $(basename $@)

  jk>   # This line causes "$@" in the first part of "RULE" to be "undefined".
  jk>   a.b: RULE += oops

  jk> And run "make" on it, it'll echo "oops" when it should echo "a oops".
  jk> It appears that the "$(basename $@)" is being expanded too early.

This has been fixed in CVS for a while; the fix will be in the next
release of GNU make.  If you like I can send you a patch.

  jk> P.S. It would be nice if bug reports about Make were acknowledged in
  jk> some way.

I acknowledge them to the best of my ability.  Have reported bugs that
weren't acknowledged?

  jk> P.P.S. Is address@hidden archived anywhere?

Sure... see the bottom of each message:

  jk> _______________________________________________
  jk> Bug-make mailing list
  jk> address@hidden
  jk> http://mail.gnu.org/mailman/listinfo/bug-make

If you're looking for something with search capabilities, there are a
number of "third party" mail list archivers that carry bug-make.  Ask
Google about "bug-make archives" for example.

  jk> Is there a newsgroup associated with it?

No.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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



reply via email to

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