1 # $OpenBSD: bsd.nls.mk,v 1.5 1997/04/27 21:38:31 millert Exp $
2 # $NetBSD: bsd.nls.mk,v 1.2 1995/04/27 18:05:38 jtc Exp $
5 .if exists
(${.CURDIR
}/..
/Makefile.inc
)
6 .
include "${.CURDIR}/../Makefile.inc"
16 gencat
${.TARGET
} ${.IMPSRC
}
18 .if defined
(NLS
) && !empty
(NLS
)
19 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} ${INSTALL_COPY} -o
${NLSOWN} -g
${NLSGRP} -m
${NLSMODE} $$msg $$dir/${NLSNAME}.cat
; \