From: Stefano Lattarini Date: Thu, 30 Aug 2012 16:19:57 +0000 (+0200) Subject: build: don't use '$<' in non-suffix rules X-Git-Tag: v8.20~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4adf4d2511ef3377b4071688c38542da913a4012;p=thirdparty%2Fcoreutils.git build: don't use '$<' in non-suffix rules * src/Makefile.am (fs-def): Here: it's not portable to some non-GNU make implementations. --- diff --git a/src/Makefile.am b/src/Makefile.am index e681ccf399..9be3acfbcc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -498,7 +498,7 @@ fs-magic-compare: fs-magic fs-kernel-magic fs-def CLEANFILES += fs-def fs-def: fs.h - grep '^# *define ' $< | $(ASSORT) > $@-t && mv $@-t $@ + grep '^# *define ' fs.h | $(ASSORT) > $@-t && mv $@-t $@ # Massage bits of the statfs man page and definitions from # /usr/include/linux/magic.h to be in a form consistent with what's in fs.h.