Only include debug set obsolete set if MKDEBUG is not no

This commit is contained in:
matt 2013-02-05 16:39:26 +00:00
parent b7c828d16f
commit 4c0c51981c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.404 2013/02/05 07:32:44 matt Exp $
# $NetBSD: Makefile,v 1.405 2013/02/05 16:39:26 matt Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -341,7 +341,10 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
# Install var/db/obsolete set lists; this is performed by "make build"
#
OBSOLETE.dir= ${.OBJDIR}/obsolete.dir
OBSOLETE.files= base comp debug etc games man misc text
OBSOLETE.files= base comp etc games man misc text
.if ${MKDEBUG} != "no"
OBSOLETE.files+= debug
.endif
.if ${MKKMOD} != "no"
OBSOLETE.files+= modules
.endif