Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Install language files



details:   https://anonhg.NetBSD.org/src/rev/989120412544
branches:  trunk
changeset: 331220:989120412544
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Aug 05 18:46:04 2014 +0000

description:
Install language files

diffstat:

 usr.sbin/sysinst/Makefile.inc |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r d3175f32dbec -r 989120412544 usr.sbin/sysinst/Makefile.inc
--- a/usr.sbin/sysinst/Makefile.inc     Tue Aug 05 18:45:35 2014 +0000
+++ b/usr.sbin/sysinst/Makefile.inc     Tue Aug 05 18:46:04 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.3 2014/08/03 16:09:38 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2014/08/05 18:46:04 martin Exp $
 #
 # Makefile for sysinst
 
@@ -47,10 +47,12 @@
 UNIF_AWK=      ${.CURDIR}/../../unif.awk
 MSG_XLAT_SH=   ${.CURDIR}/../../msg_xlat.sh
 
+CATALOGDIR=    /usr/share/sysinst/catalog
 CPPFLAGS+=     -I. -I${.CURDIR}/../.. -I${.CURDIR} \
                -DREL=\"${DISTRIBVER}\" -DMACH=\"${MACHINE}\" \
                -DMACH_${MACHINE} -DARCH_${MACHINE_ARCH} \
-               ${NODISKLABEL:D-DNO_DISKLABEL}
+               ${NODISKLABEL:D-DNO_DISKLABEL} \
+               -DCATALOG_DIR=\"${CATALOGDIR}\"
 
 .if (defined(DEBUG))
 CPPFLAGS+=-DDEBUG -g -O0
@@ -161,6 +163,8 @@
        ${HOST_SH} ${MSG_XLAT_SH} -f sysinstmsgs.fmtcnt > ${.TARGET}
 
 DPSRCS+=       sysinstmsgs.${LANG}
+FILES+=                sysinstmsgs.${LANG}
+FILESDIR_sysinstmsgs.${LANG}=  ${CATALOGDIR}
 .endfor
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index