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


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

Submitter:  Dmitry V. Levin <ldv>
Submitted:  Mon 14 Mar 2005 10:31:56 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  bosk Open/Closed:  Closed
Component Version:  4.0 Operating System:  POSIX-Based
Fixed Release:  3.81 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

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)

        $(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 Files:

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


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-01 psmith Fixed Release4.0 3.81
2005-03-15 bosk StatusNone Fixed
    Open/ClosedOpen Closed
    Fixed ReleaseNone 4.0
2005-03-15 bosk Assigned toNone bosk
2005-03-14 ldv Attached File- Added Makefile, #2309

Back to the top

Powered by Savane 3.12