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