Hi, [Please retain the CC to [EMAIL PROTECTED] so that the Debian Bug Tracking system can record your input]
This has been reported by a debian user. In some cases, GNU make ignores some double-colon rules when dry-run. Assumed this Makefile is given all: foo.1 foo.2 foo.1: touch foo.1 foo.2: touch foo.2 install.man:: foo.1 @echo install foo.1 install.man:: foo.2 @echo install foo.2 install.man:: @echo install done I've got the following results % make touch foo.1 touch foo.2 % make -n install.man echo install foo.1 echo install done I expect "echo install foo.2", but make dry-run shows not to run "install foo.2". However, if I run make actually % make install.man install foo.1 install foo.2 install done "install foo.2" is executed. Is this an intentional behavior or a bug of GNU make? Note that pmake run as I expected % pmake -n install.man echo install foo.1 echo install foo.2 echo install done % pmake install.man install foo.1 install foo.2 install done I know if I add ".PHONY: install.man" to Makefile, GNU make works as well, but I experienced this by Makefile generated by xmkmf so that no PHONY target was defined. manoj -- Laetrile is the pits. Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/%7Esrivasta/> 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make