Source-Changes-HG archive

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

[src/trunk]: src/share/mk Don't end up with a "rm -f" statement with no args....



details:   https://anonhg.NetBSD.org/src/rev/0f676fa8a0c3
branches:  trunk
changeset: 520150:0f676fa8a0c3
user:      tv <tv%NetBSD.org@localhost>
date:      Thu Jan 03 19:11:17 2002 +0000

description:
Don't end up with a "rm -f" statement with no args.  Fixes toolchain/15074.

diffstat:

 share/mk/bsd.nls.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 3ea7e4d46a82 -r 0f676fa8a0c3 share/mk/bsd.nls.mk
--- a/share/mk/bsd.nls.mk       Thu Jan 03 19:02:54 2002 +0000
+++ b/share/mk/bsd.nls.mk       Thu Jan 03 19:11:17 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.nls.mk,v 1.35 2001/11/28 20:19:08 tv Exp $
+#      $NetBSD: bsd.nls.mk,v 1.36 2002/01/03 19:11:17 tv Exp $
 
 .include <bsd.init.mk>
 
@@ -54,6 +54,6 @@
 
 ##### Clean rules
 cleannls:
-.if !empty(NLS)
+.if ${MKNLS} != "no" && !empty(NLS)
        rm -f ${NLSALL}
 .endif



Home | Main Index | Thread Index | Old Index