Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/mandoc Add intermediate files to CLEANFILES. Explicitl...



details:   https://anonhg.NetBSD.org/src/rev/c677cda9d339
branches:  trunk
changeset: 752234:c677cda9d339
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Feb 20 13:43:31 2010 +0000

description:
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.

diffstat:

 tools/mandoc/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 42346169b772 -r c677cda9d339 tools/mandoc/Makefile
--- a/tools/mandoc/Makefile     Sat Feb 20 13:21:58 2010 +0000
+++ b/tools/mandoc/Makefile     Sat Feb 20 13:43:31 2010 +0000
@@ -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; \



Home | Main Index | Thread Index | Old Index