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 create missing NLS directories; require them ...



details:   https://anonhg.NetBSD.org/src/rev/f76377707f79
branches:  trunk
changeset: 517083:f76377707f79
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Nov 06 10:59:15 2001 +0000

description:
Don't create missing NLS directories; require them to already exist
(by updating etc/mtree/NetBSD.dist as necessary).
`nlsinstall' is now in line with other *install targets.

diffstat:

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

diffs (25 lines):

diff -r 7e1e44cd90af -r f76377707f79 share/mk/bsd.nls.mk
--- a/share/mk/bsd.nls.mk       Tue Nov 06 10:56:46 2001 +0000
+++ b/share/mk/bsd.nls.mk       Tue Nov 06 10:59:15 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.nls.mk,v 1.32 2001/11/02 18:10:00 tv Exp $
+#      $NetBSD: bsd.nls.mk,v 1.33 2001/11/06 10:59:15 lukem Exp $
 
 .include <bsd.init.mk>
 
@@ -37,15 +37,7 @@
 .PRECIOUS:     ${DESTDIR}${NLSDIR}
 .PHONY:                ${DESTDIR}${NLSDIR}
 
-${DESTDIR}${NLSDIR}:
-       @if [ ! -d ${.TARGET} ] || [ -h ${.TARGET} ] ; then \
-               echo creating ${.TARGET}; \
-               /bin/rm -rf ${.TARGET}; \
-               ${INSTALL_DIR} -o ${NLSOWN} -g ${NLSGRP} -m 755 ${.TARGET}; \
-       fi
-
 __nlsinstall: .USE
-       ${INSTALL_DIR} -o ${NLSOWN} -g ${NLSGRP} ${.TARGET:H}
        ${INSTALL_FILE} -o ${NLSOWN} -g ${NLSGRP} -m ${NLSMODE} \
                ${.ALLSRC} ${.TARGET}
 



Home | Main Index | Thread Index | Old Index