bugmake - Bugs: bug #12320, 3.81beta3: regression: $* in an...

 
 

bug #12320: 3.81beta3: regression: $* in an explicit rule

Submitted by:  Dmitry V. Levin <ldv>
Submitted on:  Mon 14 Mar 2005 10:31:56 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Boris Kolpackov <bosk>Open/Closed: Closed
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: 3.81Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 14 Mar 2005 10:31:56 PM UTC, original submission:

Following simple test no longer works with cvs snapshot 20050310:

$ touch mbr.src
$ cat Makefile
TARGETS = mbr.b

.PHONY: all clean
.SUFFIXES: .src .b

all: $(TARGETS)

clean:
$(RM) $(TARGETS)

mbr.b: mbr.src
cp $*.src $@

make-3.81beta1 and even make-3.81beta2 both work as expected:
$ make-3.81beta1
cp mbr.src mbr.b

make-3.81beta3 (from cvs) breaks:
$ make-3.81beta3
cp .src mbr.b
cp: cannot stat `.src': No such file or directory
make-3.81beta3: *** [mbr.b] Error 1

Dmitry V. Levin <ldv>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #2731:  Makefile added by ldv (127B - sample makefile)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:14:27 AM UTCpsmithFixed Release4.0=>3.81
Tue 15 Mar 2005 03:32:22 PM UTCboskStatusNone=>Fixed
  Open/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.0
Tue 15 Mar 2005 09:19:50 AM UTCboskAssigned toNone=>bosk
Mon 14 Mar 2005 10:31:56 PM UTCldvAttached File-=>Added Makefile, #2309

Back to the top


Powered by Savane 3.1-cleanup1