43cf5ff9b4
Optimize NLS by not wasting space copying the same .cat but use symbolic links instead.
28 lines
579 B
Makefile
28 lines
579 B
Makefile
# $FreeBSD$
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
NL= german
|
|
DL= de_DE.ISO_8859-1
|
|
LL= de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_AT.DIS_8859-15 \
|
|
de_CH.DIS_8859-15 de_DE.DIS_8859-15
|
|
|
|
.PATH: ${BASESRC}/${NL}
|
|
|
|
all: tcsh.cat
|
|
|
|
tcsh.cat: tcsh.msg
|
|
|
|
tcsh.msg: set[0-9]*
|
|
cat ${BASESRC}/${NL}/set[0-9] \
|
|
${BASESRC}/${NL}/set[0-9][0-9] > ${.TARGET}
|
|
|
|
install:
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
|
tcsh.cat ${DESTDIR}${NLSDIR}/${DL}/tcsh.cat
|
|
.for i in ${LL}
|
|
ln -fs ../${DL}/tcsh.cat ${DESTDIR}${NLSDIR}/$i/tcsh.cat
|
|
.endfor
|
|
|
|
.include <bsd.obj.mk>
|