coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/7] build: don't use '$<' in non-suffix rules


From: Stefano Lattarini
Subject: [PATCH 6/7] build: don't use '$<' in non-suffix rules
Date: Thu, 30 Aug 2012 18:19:57 +0200

* src/Makefile.am (fs-def): Here: it's not portable to some non-GNU
make implementations.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index e681ccf..9be3acf 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]