mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 01:38:57 +00:00
96fc0cb8f8
Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
48 lines
873 B
Makefile
48 lines
873 B
Makefile
# $FreeBSD$
|
|
|
|
NOMAN=YES
|
|
CLEANFILES+= ${LOCALES:S/$/.out/g}
|
|
|
|
LOCALES= af_ZA.ISO_8859-1 \
|
|
cs_CZ.ISO_8859-2 \
|
|
da_DK.ISO_8859-1 \
|
|
de_DE.ISO_8859-1 \
|
|
el_GR.ISO_8859-7 \
|
|
en_AU.ISO_8859-1 \
|
|
en_CA.ISO_8859-1 \
|
|
en_GB.ISO_8859-1 \
|
|
en_NZ.ISO_8859-1 \
|
|
en_US.ISO_8859-1 \
|
|
fi_FI.ISO_8859-1 \
|
|
fr_FR.ISO_8859-1 \
|
|
fr_CA.ISO_8859-1 \
|
|
hu_HU.ISO_8859-2 \
|
|
is_IS.ISO_8859-1 \
|
|
nl_NL.ISO_8859-1 \
|
|
no_NO.ISO_8859-1 \
|
|
pl_PL.ISO_8859-2 \
|
|
ru_RU.KOI8-R \
|
|
sv_SE.ISO_8859-1 \
|
|
uk_UA.KOI8-U \
|
|
ko_KR.EUC \
|
|
ja_JP.EUC \
|
|
zh_TW.Big5 \
|
|
zh_CN.EUC
|
|
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
|
|
|
.SUFFIXES: .src .out
|
|
|
|
.src.out:
|
|
grep -v '^#' < ${.IMPSRC} > ${.TARGET}
|
|
|
|
all: ${LOCALES:S/$/.out/g}
|
|
|
|
afterinstall:
|
|
.for lang in ${LOCALES}
|
|
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
|
|
${LOCALEDIR}/${lang}/LC_MONETARY
|
|
.endfor
|
|
|
|
.include <bsd.prog.mk>
|