summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-30 15:14:16 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-30 15:14:16 +0000
commita815247064fb423e2d7d9db3d48022d1ca51035c (patch)
tree177f89d1f64296584f066fab0a431cfa0608591a
parentdec877638c9dda1400697ea912b969ec6b3410f3 (diff)
build system: avoid GNU grep specific code
git-svn-id: svn://tug.org/texlive/trunk@14018 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog4
-rw-r--r--Build/source/texk/kpathsea/Makefile.am6
-rw-r--r--Build/source/texk/kpathsea/Makefile.in6
3 files changed, 14 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 9676ea48bd7..ed2e17b0b63 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am (kpathsea.h): avoid GNU grep specific code.
+
2009-06-30 Karl Berry <karl@tug.org>
* variable.c (expand): make boolean, to return whether there
diff --git a/Build/source/texk/kpathsea/Makefile.am b/Build/source/texk/kpathsea/Makefile.am
index d80fff94c13..2643ac009a4 100644
--- a/Build/source/texk/kpathsea/Makefile.am
+++ b/Build/source/texk/kpathsea/Makefile.am
@@ -221,7 +221,11 @@ kpathsea.h: Makefile paths.h
echo '#include <kpathsea/c-auto.h>' >>$@
echo '#include <kpathsea/paths.h>' >>$@
(cd $(srcdir) && ls -1 *.h) \
- | grep -v '\(config\|paths\|kpathsea\|mingw32\|win32lib\)\.h' \
+ | grep -v 'config\.h' \
+ | grep -v 'paths\.h' \
+ | grep -v 'kpathsea\.h' \
+ | grep -v 'mingw32\.h' \
+ | grep -v 'win32lib\.h' \
| sed -e 's,^,#include <kpathsea/,' -e s',$$,>,' >>$@
DISTCLEANFILES = paths.h stamp-paths kpathsea.h
diff --git a/Build/source/texk/kpathsea/Makefile.in b/Build/source/texk/kpathsea/Makefile.in
index 68064e7d5b2..5e821b2ef2b 100644
--- a/Build/source/texk/kpathsea/Makefile.in
+++ b/Build/source/texk/kpathsea/Makefile.in
@@ -1678,7 +1678,11 @@ kpathsea.h: Makefile paths.h
echo '#include <kpathsea/c-auto.h>' >>$@
echo '#include <kpathsea/paths.h>' >>$@
(cd $(srcdir) && ls -1 *.h) \
- | grep -v '\(config\|paths\|kpathsea\|mingw32\|win32lib\)\.h' \
+ | grep -v 'config\.h' \
+ | grep -v 'paths\.h' \
+ | grep -v 'kpathsea\.h' \
+ | grep -v 'mingw32\.h' \
+ | grep -v 'win32lib\.h' \
| sed -e 's,^,#include <kpathsea/,' -e s',$$,>,' >>$@
install-exec-hook: