From 4c0c51981cdb0a01372016250e4bfc6e7e3e0441 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 5 Feb 2013 16:39:26 +0000 Subject: [PATCH] Only include debug set obsolete set if MKDEBUG is not no --- etc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index ea6041d36a2c..6c097e44b6f9 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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