summaryrefslogtreecommitdiff
path: root/tools/Makefile.gnuwrap
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>2001-11-13 04:01:49 +0000
committertv <tv@NetBSD.org>2001-11-13 04:01:49 +0000
commitaab33a26c55ddd899f6b4a2d6cd4b4e2873c6c09 (patch)
tree455eac379f75afffd4df139967aed96acdc677cc /tools/Makefile.gnuwrap
parent9f8afd52524b40707cf7c2f046d072d9ac5be328 (diff)
Make sure the wrapper is used recursively. -f is not propagated to MAKEFLAGS.
Diffstat (limited to 'tools/Makefile.gnuwrap')
-rw-r--r--tools/Makefile.gnuwrap6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile.gnuwrap b/tools/Makefile.gnuwrap
index ad4456e5abf..7e31292f8d7 100644
--- a/tools/Makefile.gnuwrap
+++ b/tools/Makefile.gnuwrap
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.gnuwrap,v 1.1 2001/11/12 23:16:23 tv Exp $
+# $NetBSD: Makefile.gnuwrap,v 1.2 2001/11/13 04:01:49 tv Exp $
#
# Wrapper for GNU Makefiles.
@@ -12,3 +12,7 @@ _srcdir:= ${srcdir}
# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
.po.gmo .l.c .y.c .y.h:
@true
+
+# Make sure this file gets re-loaded recursively.
+_GNUWRAPPER:= ${.PARSEDIR}/${.PARSEFILE}
+MAKE:= ${MAKE} -f ${_GNUWRAPPER}