diff options
| author | tv <tv@NetBSD.org> | 2002-01-31 02:42:25 +0000 |
|---|---|---|
| committer | tv <tv@NetBSD.org> | 2002-01-31 02:42:25 +0000 |
| commit | c10af7be1ef1cb5df81e3cd6a50bc97957cbee4e (patch) | |
| tree | 9e09b8e8aaf8ef6121eec3c2e8755c7f23908104 /tools/Makefile.gnuhost | |
| parent | 910773a8f9c55b1059e6b7f334c1911c2f3fa93b (diff) | |
Make sure LEX and YACC are properly defined (mainly for groff); also use
a more portable grep construct.
Diffstat (limited to 'tools/Makefile.gnuhost')
| -rw-r--r-- | tools/Makefile.gnuhost | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/Makefile.gnuhost b/tools/Makefile.gnuhost index 0a8c6292a76..cf8f2171ac5 100644 --- a/tools/Makefile.gnuhost +++ b/tools/Makefile.gnuhost @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.gnuhost,v 1.13 2002/01/03 16:47:08 tv Exp $ +# $NetBSD: Makefile.gnuhost,v 1.14 2002/01/31 02:42:25 tv Exp $ # # Rules used when building a GNU host package. Expects MODULE to be set. # @@ -45,7 +45,9 @@ CONFIGURE_ENV+= CC=${HOST_CC:Q} \ CXXFLAGS=${HOST_CXXFLAGS:Q} \ INSTALL=${HOST_INSTALL_FILE:Q} \ LDFLAGS=${HOST_LDFLAGS:Q} \ - PATH="${TOOLDIR}/bin:$$PATH" + LEX=${LEX:Q} \ + PATH="${TOOLDIR}/bin:$$PATH" \ + YACC=${YACC:Q} CONFIGURE_ARGS+=--prefix=${TOOLDIR} --disable-shared @@ -74,7 +76,7 @@ INSTALL_TARGET?=install .build_done: .configure_done @(cd build && ${MAKE} ${MAKE_ARGS} ${ALL_TARGET}) @if [ ! -f .build_done ] || \ - find build -type f -newer .build_done -print | grep -q ''; \ + find build -type f -newer .build_done -print | grep '' >/dev/null; \ then touch $@; fi .install_done: ${BUILD:D.build_done} |
