summaryrefslogtreecommitdiff
path: root/tools/Makefile.gnuwrap
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>2001-11-13 04:37:00 +0000
committertv <tv@NetBSD.org>2001-11-13 04:37:00 +0000
commitc1cbb7c3e31d996c192a4b2040cd2ea6765b4187 (patch)
tree1b9b5efb082a3a7521dc6861e1ae7d49353ff737 /tools/Makefile.gnuwrap
parent8753b7b6afa10d76667215bf10b9be010f65cd16 (diff)
Use ${_srcdir} in .MADE, and add "Makefile" to the list.
Diffstat (limited to 'tools/Makefile.gnuwrap')
-rw-r--r--tools/Makefile.gnuwrap7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/Makefile.gnuwrap b/tools/Makefile.gnuwrap
index f444ba2892f..fab6f193d69 100644
--- a/tools/Makefile.gnuwrap
+++ b/tools/Makefile.gnuwrap
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.gnuwrap,v 1.3 2001/11/13 04:28:27 tv Exp $
+# $NetBSD: Makefile.gnuwrap,v 1.4 2001/11/13 04:37:00 tv Exp $
#
# Wrapper for GNU Makefiles.
@@ -9,7 +9,10 @@
# Prevent targets in source directories from being rebuilt.
_srcdir:= ${srcdir}
-.MADE: ${.ALLTARGETS:M${srcdir}/*}
+.MADE: ${.ALLTARGETS:M${_srcdir}/*} Makefile
+
+.BEGIN:
+ @echo hi
# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
.po.gmo .l.c .y.c .y.h: