From eadb78140f106e59a3d067eb591e6a5e0820a3c1 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 2 Jul 2009 13:04:27 +0000 Subject: rule to build kpathsea/kpathsea.h git-svn-id: svn://tug.org/texlive/trunk@14070 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 4 ++++ Build/source/texk/kpathsea/Makefile.am | 12 ++++++------ Build/source/texk/kpathsea/Makefile.in | 12 ++++++------ 3 files changed, 16 insertions(+), 12 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index ed2e17b0b63..9ded6a9f600 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,7 @@ +2009-07-02 Peter Breitenlohner + + * Makefile.am (kpathsea.h): simplify, no more grep. + 2009-06-30 Peter Breitenlohner * Makefile.am (kpathsea.h): avoid GNU grep specific code. diff --git a/Build/source/texk/kpathsea/Makefile.am b/Build/source/texk/kpathsea/Makefile.am index 2643ac009a4..7064ea63e6b 100644 --- a/Build/source/texk/kpathsea/Makefile.am +++ b/Build/source/texk/kpathsea/Makefile.am @@ -221,12 +221,12 @@ kpathsea.h: Makefile paths.h echo '#include ' >>$@ echo '#include ' >>$@ (cd $(srcdir) && ls -1 *.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 ,' >>$@ + | sed -e '/^config\.h/d' \ + -e '/^paths\.h/d' \ + -e '/^kpathsea\.h/d' \ + -e '/^mingw32\.h/d' \ + -e '/^win32lib\.h/d' \ + -e 's,^,#include ,' >>$@ DISTCLEANFILES = paths.h stamp-paths kpathsea.h diff --git a/Build/source/texk/kpathsea/Makefile.in b/Build/source/texk/kpathsea/Makefile.in index 5e821b2ef2b..b7d66fab4cd 100644 --- a/Build/source/texk/kpathsea/Makefile.in +++ b/Build/source/texk/kpathsea/Makefile.in @@ -1678,12 +1678,12 @@ kpathsea.h: Makefile paths.h echo '#include ' >>$@ echo '#include ' >>$@ (cd $(srcdir) && ls -1 *.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 ,' >>$@ + | sed -e '/^config\.h/d' \ + -e '/^paths\.h/d' \ + -e '/^kpathsea\.h/d' \ + -e '/^mingw32\.h/d' \ + -e '/^win32lib\.h/d' \ + -e 's,^,#include ,' >>$@ install-exec-hook: @for f in $(dist_noinst_SCRIPTS); do \ -- cgit v1.2.3