Makefile revision 86072
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 86072 2001-11-05 07:08:39Z ache $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
677982SacheLOCALES=        af_ZA.ISO8859-1 \
786072Sache		bg_BG.CP1251 \
877982Sache		cs_CZ.ISO8859-2 \
977982Sache		da_DK.ISO8859-1 \
1077982Sache		de_AT.ISO8859-1 \
1177982Sache		de_DE.ISO8859-1 \
1277982Sache		el_GR.ISO8859-7 \
1377982Sache		en_AU.ISO8859-1 \
1477982Sache		en_CA.ISO8859-1 \
1577982Sache		en_GB.ISO8859-1 \
1677982Sache		en_NZ.ISO8859-1 \
1777982Sache		en_US.ISO8859-1 \
1877982Sache		es_ES.ISO8859-1 \
1977982Sache		et_EE.ISO8859-15 \
2077982Sache		fi_FI.ISO8859-1 \
2177982Sache		fr_FR.ISO8859-1 \
2277982Sache		fr_CA.ISO8859-1 \
2377982Sache		hr_HR.ISO8859-2 \
2477982Sache		hu_HU.ISO8859-2 \
2577982Sache		is_IS.ISO8859-1 \
2677982Sache		it_IT.ISO8859-1 \
2777982Sache		nl_NL.ISO8859-1 \
2877982Sache		no_NO.ISO8859-1 \
2977982Sache		pl_PL.ISO8859-2 \
3077982Sache		pt_PT.ISO8859-1 \
3172707Sphantom		ru_RU.CP866 \
3277982Sache		ru_RU.ISO8859-5 \
3372208Sasmodai		ru_RU.KOI8-R \
3477982Sache		sk_SK.ISO8859-2 \
3577982Sache		sl_SI.ISO8859-2 \
3677982Sache		sv_SE.ISO8859-1 \
3777982Sache		tr_TR.ISO8859-9 \
3872565Sache		uk_UA.KOI8-U \
3977982Sache		ko_KR.eucKR \
4077982Sache		ja_JP.eucJP \
4172574Skeith		zh_TW.Big5 \
4277982Sache		zh_CN.eucCN
4372172Sphantom
4472172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
4572172Sphantom
4678010SacheASCIILINKS    = en_AU en_CA en_GB en_NZ en_US
4778010Sache8859_15_LINKS = af_ZA da_DK de_AT de_DE en_AU en_CA en_GB en_NZ en_US \
4878010Sache		es_ES fi_FI fr_CA fr_FR is_IS is_IS it_IT nl_NL no_NO \
4978010Sache		pt_PT sv_SE
5078008Sache
5172172Sphantom.SUFFIXES: .src .out
5272172Sphantom
5372172Sphantom.src.out:
5472172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5572172Sphantom
5672172Sphantomall: ${LOCALES:S/$/.out/g}
5772172Sphantom
5872172Sphantomafterinstall:
5972260Swollman.for lang in ${LOCALES}
6072260Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
6172260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
6272260Swollman.endfor
6378010Sache.for link in ${8859_15_LINKS}
6478010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
6578010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
6678010Sache.endfor
6778008Sache.for link in ${ASCIILINKS}
6878010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
6978008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
7078008Sache.endfor
7172172Sphantom
7272172Sphantom.include <bsd.prog.mk>
73