Makefile revision 88314
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 88314 2001-12-20 20:48:31Z 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 \
2387043Sache		hi_IN.ISCII-DEV \
2477982Sache		hr_HR.ISO8859-2 \
2577982Sache		hu_HU.ISO8859-2 \
2677982Sache		is_IS.ISO8859-1 \
2777982Sache		it_IT.ISO8859-1 \
2877982Sache		nl_NL.ISO8859-1 \
2977982Sache		no_NO.ISO8859-1 \
3077982Sache		pl_PL.ISO8859-2 \
3177982Sache		pt_PT.ISO8859-1 \
3272707Sphantom		ru_RU.CP866 \
3377982Sache		ru_RU.ISO8859-5 \
3472208Sasmodai		ru_RU.KOI8-R \
3577982Sache		sk_SK.ISO8859-2 \
3677982Sache		sl_SI.ISO8859-2 \
3777982Sache		sv_SE.ISO8859-1 \
3877982Sache		tr_TR.ISO8859-9 \
3988314Sache		uk_UA.ISO8859-5 \
4072565Sache		uk_UA.KOI8-U \
4177982Sache		ko_KR.eucKR \
4277982Sache		ja_JP.eucJP \
4372574Skeith		zh_TW.Big5 \
4477982Sache		zh_CN.eucCN
4572172Sphantom
4672172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
4772172Sphantom
4878010SacheASCIILINKS    = en_AU en_CA en_GB en_NZ en_US
4978010Sache8859_15_LINKS = af_ZA da_DK de_AT de_DE en_AU en_CA en_GB en_NZ en_US \
5078010Sache		es_ES fi_FI fr_CA fr_FR is_IS is_IS it_IT nl_NL no_NO \
5178010Sache		pt_PT sv_SE
5278008Sache
5372172Sphantom.SUFFIXES: .src .out
5472172Sphantom
5572172Sphantom.src.out:
5672172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5772172Sphantom
5872172Sphantomall: ${LOCALES:S/$/.out/g}
5972172Sphantom
6072172Sphantomafterinstall:
6172260Swollman.for lang in ${LOCALES}
6272260Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
6372260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
6472260Swollman.endfor
6578010Sache.for link in ${8859_15_LINKS}
6678010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
6778010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
6878010Sache.endfor
6978008Sache.for link in ${ASCIILINKS}
7078010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
7178008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
7278008Sache.endfor
7372172Sphantom
7472172Sphantom.include <bsd.prog.mk>
75