Module Name:    src
Committed By:   joerg
Date:           Sat Feb 20 13:43:31 UTC 2010

Modified Files:
        src/tools/mandoc: Makefile

Log Message:
Add intermediate files to CLEANFILES. Explicitly include bsd.sys.mk to
ensure that HOST_SH is set, even when e.g. cleandir is used.
Noticed by Nicolas Joly.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tools/mandoc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/mandoc/Makefile
diff -u src/tools/mandoc/Makefile:1.4 src/tools/mandoc/Makefile:1.5
--- src/tools/mandoc/Makefile:1.4	Fri Feb 19 23:03:02 2010
+++ src/tools/mandoc/Makefile	Sat Feb 20 13:43:31 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2010/02/19 23:03:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2010/02/20 13:43:31 joerg Exp $
 
 HOSTPROGNAME=	${_TOOL_PREFIX}mandoc
 HOST_SRCDIR=	external/bsd/mdocml/bin/mandoc
@@ -6,6 +6,7 @@
 NOMAN=		# defined
 
 .include <bsd.own.mk>
+.include <bsd.sys.mk>
 
 NETBSD_MINOR!=	${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -n
 NETBSD_OSNAME=	"NetBSD ${NETBSD_MINOR}"
@@ -14,6 +15,8 @@
 
 DPSRCS+=	config.h
 
+CLEANFILES+=	config.log config.h
+
 config.h: config.h.pre config.h.post
 	rm -f config.log
 	( cat ${DISTDIR}/config.h.pre; \

Reply via email to