diff options
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/Makefile.am | 12 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/Makefile.in | 12 |
3 files changed, 16 insertions, 12 deletions
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 <peb@mppmu.mpg.de> + + * Makefile.am (kpathsea.h): simplify, no more grep. + 2009-06-30 Peter Breitenlohner <peb@mppmu.mpg.de> * 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 <kpathsea/c-auto.h>' >>$@ echo '#include <kpathsea/paths.h>' >>$@ (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 <kpathsea/,' -e s',$$,>,' >>$@ + | sed -e '/^config\.h/d' \ + -e '/^paths\.h/d' \ + -e '/^kpathsea\.h/d' \ + -e '/^mingw32\.h/d' \ + -e '/^win32lib\.h/d' \ + -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 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 <kpathsea/c-auto.h>' >>$@ echo '#include <kpathsea/paths.h>' >>$@ (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 <kpathsea/,' -e s',$$,>,' >>$@ + | sed -e '/^config\.h/d' \ + -e '/^paths\.h/d' \ + -e '/^kpathsea\.h/d' \ + -e '/^mingw32\.h/d' \ + -e '/^win32lib\.h/d' \ + -e 's,^,#include <kpathsea/,' -e s',$$,>,' >>$@ install-exec-hook: @for f in $(dist_noinst_SCRIPTS); do \ |