Subject: misc/999: 'make cleandir' fails in /usr/src/share/mk
To: None <gnats-admin@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 04/27/1995 01:50:08
>Number: 999
>Category: misc
>Synopsis: 'make cleandir' fails in /usr/src/share/mk
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 27 01:50:05 1995
>Originator: Mike Long
>Organization:
KAOS
>Release: 4/26/95
>Environment:
System: NetBSD azathoth 1.0A NetBSD 1.0A (AZATHOTH) #2: Sun Mar 26 06:39:10 EST 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386
>Description:
In bsd.nls.mk, the cleandir target can fail if NLS is not
defined. I cribbed this fix from bsd.man.mk.
>How-To-Repeat:
cd /usr/src/share/mk
make cleandir
>Fix:
--- /usr/src/share/mk/bsd.nls.mk~ Thu Apr 20 06:14:20 1995
+++ /usr/src/share/mk/bsd.nls.mk Thu Apr 27 02:17:05 1995
@@ -14,7 +14,9 @@
@rm -f ${.TARGET}
gencat ${.TARGET} ${.IMPSRC}
+.if defined(NLS) && !empty(NLS)
NLSALL= ${NLS:.msg=.cat}
+.endif
.if !defined(NLSNAME)
.if defined(PROG)
>Audit-Trail:
>Unformatted: