X-debbugs-cc: bug-make@gnu.org
Package: make
Version: 3.81-7

Nope, make -n is definitely busted. If it senses the word 'Makefile' here,
if forgets that it is not supposed to execute anything, and even turns on
execution for make -n b!

$ cat Makefile
h:b
Makefile:b
b:
        rm -f /boot/vmlinuz-2.6.32-trunk-686
$ ls
Makefile  h
$ make -n
rm -f /boot/vmlinuz-2.6.32-trunk-686
rm: cannot remove `/boot/vmlinuz-2.6.32-trunk-686': Permission denied
make: *** [b] Error 1
$ make -n b
rm -f /boot/vmlinuz-2.6.32-trunk-686
rm: cannot remove `/boot/vmlinuz-2.6.32-trunk-686': Permission denied
make: *** [b] Error 1

Comment out Makefile and all is OK again.




_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to