1 # $NetBSD: bsd.nls.mk,v 1.3 1996/10/18 02:34:45 thorpej Exp $
4 .if exists(${.CURDIR}/../Makefile.inc)
5 .include "${.CURDIR}/../Makefile.inc"
15 gencat ${.TARGET} ${.IMPSRC}
17 .if defined(NLS) && !empty(NLS)
18 NLSALL= ${NLS:.msg=.cat}
32 @for msg in ${NLSALL}; do \
33 NLSLANG=`basename $$msg .cat`; \
34 dir=${DESTDIR}${NLSDIR}/$${NLSLANG}; \
35 ${INSTALL} -d $$dir; \
36 ${INSTALL} ${COPY} -o ${NLSOWN} -g ${NLSGRP} -m ${NLSMODE} $$msg $$dir/${NLSNAME}.cat; \