[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.
- [PATCH 0/7] Minor cleanup and refactoring., Stefano Lattarini, 2012/08/30
- [PATCH 1/7] build: move definition of 'all_programs' in cfg.mk, Stefano Lattarini, 2012/08/30
- [PATCH 2/7] build: some refactorings in cfg.mk, Stefano Lattarini, 2012/08/30
- [PATCH 5/7] maint: more uses of $(ASSORT), Stefano Lattarini, 2012/08/30
- [PATCH 4/7] maint: remove unused variable in src/Makefile.am, Stefano Lattarini, 2012/08/30
- [PATCH 7/7] maint: get rid of obsolete script 'cvsu', Stefano Lattarini, 2012/08/30
- [PATCH 6/7] build: don't use '$<' in non-suffix rules,
Stefano Lattarini <=
- [PATCH 3/7] build: don't use foo_LDADD if there's no foo program, Stefano Lattarini, 2012/08/30
- Re: [PATCH 0/7] Minor cleanup and refactoring., Jim Meyering, 2012/08/31
- Re: [PATCH 0/7] Minor cleanup and refactoring., Jim Meyering, 2012/08/31