]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: don't use '$<' in non-suffix rules
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 30 Aug 2012 16:19:57 +0000 (18:19 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 31 Aug 2012 10:22:10 +0000 (12:22 +0200)
* src/Makefile.am (fs-def): Here: it's not portable to some non-GNU
make implementations.

src/Makefile.am

index e681ccf39912a2c5c242b5579e2e35889ebf4017..9be3acfbcc9c014c323482506014bfdac58bd019 100644 (file)
@@ -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.