There seems to be a bug handling files with percent signs in their
names (and the person who decided to name temp files like that).

It produces an incorrect error message when a dependent file is
missing, ie., it complains about there being no rule for the target
rather than saying it doesn't know how to construct the missing file.

Seeya, byebye,
  jon.

---- typescript ----
Script started on Wed Mar 29 11:19:33 2000
homestead 1% make good; make
rm -f file%* test%*
echo -n '12345' > file%1
echo '67890' > file%2
cat file%1 file%2 > test%1
homestead 2% cat test%1
1234567890
homestead 3% make bad; make
rm -f file%* test%*
echo '67890' > file%2
make: *** No rule to make target `test%1', needed by `all'.  Stop.
homestead 4% exit
script done on Wed Mar 29 11:20:01 2000

---- Makefile ----
all: test%1

test%1: file%1 file%2
        cat $? > $@

clean:
        rm -f file%* test%*

good: clean
        echo -n '12345' > file%1
        echo '67890' > file%2

bad: clean
        echo '67890' > file%2

Reply via email to