Oskar Liljeblad wrote: > > byteswap.h: byteswap_.h > > - cp $(srcdir)/$< [EMAIL PROTECTED] > > + cp $(srcdir)/byteswap_.h [EMAIL PROTECTED] > > mv [EMAIL PROTECTED] $@ > > Can you please explain why this is necessary, > so that I won't make the same mistake in the future again?
See the POSIX specification of "make", at http://www.opengroup.org/onlinepubs/009695399/utilities/make.html : $< is defined for inference rules only. Not for target rules. GNU make implements $< also for target rules, but other "make" programs don't. Bruno _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib