summaryrefslogtreecommitdiffstats
path: root/c/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/Makefile.in')
-rw-r--r--c/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/Makefile.in b/c/Makefile.in
index 83f27ac40d..6fd1960f5b 100644
--- a/c/Makefile.in
+++ b/c/Makefile.in
@@ -51,7 +51,7 @@ CREATE_DIRS = \
# if something is added to TARGET_VARIANTS, then account for it here
make_src_makefiles: Makefile.in Makefile
-find . -name Makefile \
- -exec grep -q ^preinstall {} \; -print > make_src_makefiles.tmp
+ -exec grep -l "^preinstall" {} \; > make_src_makefiles.tmp
-grep tools make_src_makefiles.tmp > make_src_makefiles
-grep -v tools make_src_makefiles.tmp >> make_src_makefiles
-rm make_src_makefiles.tmp