Makefile revision 123682
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 123682 2003-12-20 11:18:43Z ache $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
677982SacheLOCALES=        af_ZA.ISO8859-1 \
7118459Smtm		am_ET.UTF-8 \
8123682Sache		be_BY.CP1131 \
9123682Sache		be_BY.CP1251 \
10123682Sache		be_BY.ISO8859-5 \
1186072Sache		bg_BG.CP1251 \
12108428Sache		ca_ES.ISO8859-1 \
1377982Sache		cs_CZ.ISO8859-2 \
1477982Sache		da_DK.ISO8859-1 \
1577982Sache		de_AT.ISO8859-1 \
1688479Sphantom		de_CH.ISO8859-1 \
1777982Sache		de_DE.ISO8859-1 \
1877982Sache		el_GR.ISO8859-7 \
1977982Sache		en_AU.ISO8859-1 \
2077982Sache		en_CA.ISO8859-1 \
2177982Sache		en_GB.ISO8859-1 \
2277982Sache		en_NZ.ISO8859-1 \
2377982Sache		en_US.ISO8859-1 \
2477982Sache		es_ES.ISO8859-1 \
2577982Sache		et_EE.ISO8859-15 \
2677982Sache		fi_FI.ISO8859-1 \
2790583Sphantom		fr_BE.ISO8859-1 \
2888473Sphantom		fr_CA.ISO8859-1 \
2977982Sache		fr_FR.ISO8859-1 \
3087043Sache		hi_IN.ISCII-DEV \
3177982Sache		hr_HR.ISO8859-2 \
3277982Sache		hu_HU.ISO8859-2 \
33117259Sache		hy_AM.ARMSCII-8 \
3477982Sache		is_IS.ISO8859-1 \
3577982Sache		it_IT.ISO8859-1 \
3688473Sphantom		ja_JP.eucJP \
3788473Sphantom		ko_KR.eucKR \
38105965Sache		lt_LT.ISO8859-13 \
3990587Sphantom		nl_BE.ISO8859-1 \
4077982Sache		nl_NL.ISO8859-1 \
4177982Sache		no_NO.ISO8859-1 \
4277982Sache		pl_PL.ISO8859-2 \
4393885Sphantom		pt_BR.ISO8859-1 \
4477982Sache		pt_PT.ISO8859-1 \
4589077Sache		ro_RO.ISO8859-2 \
46115924Sache		ru_RU.CP1251 \
4772707Sphantom		ru_RU.CP866 \
4877982Sache		ru_RU.ISO8859-5 \
4972208Sasmodai		ru_RU.KOI8-R \
5077982Sache		sk_SK.ISO8859-2 \
5177982Sache		sl_SI.ISO8859-2 \
52105445Sache		sr_YU.ISO8859-2 \
53105445Sache		sr_YU.ISO8859-5 \
5477982Sache		sv_SE.ISO8859-1 \
5577982Sache		tr_TR.ISO8859-9 \
5688314Sache		uk_UA.ISO8859-5 \
5772565Sache		uk_UA.KOI8-U \
5888473Sphantom		zh_CN.eucCN \
59118174Sache		zh_CN.GB18030 \
60122151Sdavidxu		zh_CN.GB2312 \
6188473Sphantom		zh_TW.Big5
6272172Sphantom
6372172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
6472172Sphantom
6588473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
66108428SacheLATIN15LINKS=   af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
67108428Sache		en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT \
68108428Sache		it_CH nl_BE nl_NL no_NO pt_PT sv_SE
6978008Sache
7090583SphantomCH_SRC=		de_CH
7190583SphantomCH_LINKS=	fr_CH it_CH
7290579Sphantom
7372172Sphantom.SUFFIXES: .src .out
7472172Sphantom
7572172Sphantom.src.out:
7672172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7772172Sphantom
7872172Sphantomall: ${LOCALES:S/$/.out/g}
7972172Sphantom
8072172Sphantomafterinstall:
8172260Swollman.for lang in ${LOCALES}
82100872Sru	${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
8372260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
8472260Swollman.endfor
8588473Sphantom.for link in ${LATIN15LINKS}
8678010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8778010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
8878010Sache.endfor
8978008Sache.for link in ${ASCIILINKS}
9078010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
9178008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
9278008Sache.endfor
9390583Sphantom.for link in ${CH_LINKS}
9490583Sphantom	ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
9590579Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
9690579Sphantom.endfor
9793890Sphantom	ln -sf ../ja_JP.eucJP/LC_MONETARY \
9893890Sphantom		${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
99118651Sache	ln -sf ../ko_KR.eucKR/LC_MONETARY \
100118651Sache		${LOCALEDIR}/ko_KR.CP949/LC_MONETARY
101122178Sdavidxu	ln -sf ../zh_CN.GB2312/LC_MONETARY \
102122178Sdavidxu		${LOCALEDIR}/zh_CN.GBK/LC_MONETARY
10372172Sphantom.include <bsd.prog.mk>
104