Makefile revision 122151
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 122151 2003-11-05 23:39:03Z davidxu $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
677982SacheLOCALES=        af_ZA.ISO8859-1 \
7118459Smtm		am_ET.UTF-8 \
886072Sache		bg_BG.CP1251 \
9108428Sache		ca_ES.ISO8859-1 \
1077982Sache		cs_CZ.ISO8859-2 \
1177982Sache		da_DK.ISO8859-1 \
1277982Sache		de_AT.ISO8859-1 \
1388479Sphantom		de_CH.ISO8859-1 \
1477982Sache		de_DE.ISO8859-1 \
1577982Sache		el_GR.ISO8859-7 \
1677982Sache		en_AU.ISO8859-1 \
1777982Sache		en_CA.ISO8859-1 \
1877982Sache		en_GB.ISO8859-1 \
1977982Sache		en_NZ.ISO8859-1 \
2077982Sache		en_US.ISO8859-1 \
2177982Sache		es_ES.ISO8859-1 \
2277982Sache		et_EE.ISO8859-15 \
2377982Sache		fi_FI.ISO8859-1 \
2490583Sphantom		fr_BE.ISO8859-1 \
2588473Sphantom		fr_CA.ISO8859-1 \
2677982Sache		fr_FR.ISO8859-1 \
2787043Sache		hi_IN.ISCII-DEV \
2877982Sache		hr_HR.ISO8859-2 \
2977982Sache		hu_HU.ISO8859-2 \
30117259Sache		hy_AM.ARMSCII-8 \
3177982Sache		is_IS.ISO8859-1 \
3277982Sache		it_IT.ISO8859-1 \
3388473Sphantom		ja_JP.eucJP \
3488473Sphantom		ko_KR.eucKR \
35105965Sache		lt_LT.ISO8859-13 \
3690587Sphantom		nl_BE.ISO8859-1 \
3777982Sache		nl_NL.ISO8859-1 \
3877982Sache		no_NO.ISO8859-1 \
3977982Sache		pl_PL.ISO8859-2 \
4093885Sphantom		pt_BR.ISO8859-1 \
4177982Sache		pt_PT.ISO8859-1 \
4289077Sache		ro_RO.ISO8859-2 \
43115924Sache		ru_RU.CP1251 \
4472707Sphantom		ru_RU.CP866 \
4577982Sache		ru_RU.ISO8859-5 \
4672208Sasmodai		ru_RU.KOI8-R \
4777982Sache		sk_SK.ISO8859-2 \
4877982Sache		sl_SI.ISO8859-2 \
49105445Sache		sr_YU.ISO8859-2 \
50105445Sache		sr_YU.ISO8859-5 \
5177982Sache		sv_SE.ISO8859-1 \
5277982Sache		tr_TR.ISO8859-9 \
5388314Sache		uk_UA.ISO8859-5 \
5472565Sache		uk_UA.KOI8-U \
5588473Sphantom		zh_CN.eucCN \
56118174Sache		zh_CN.GB18030 \
57122151Sdavidxu		zh_CN.GB2312 \
5888473Sphantom		zh_TW.Big5
5972172Sphantom
6072172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
6172172Sphantom
6288473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
63108428SacheLATIN15LINKS=   af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
64108428Sache		en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT \
65108428Sache		it_CH nl_BE nl_NL no_NO pt_PT sv_SE
6678008Sache
6790583SphantomCH_SRC=		de_CH
6890583SphantomCH_LINKS=	fr_CH it_CH
6990579Sphantom
7072172Sphantom.SUFFIXES: .src .out
7172172Sphantom
7272172Sphantom.src.out:
7372172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7472172Sphantom
7572172Sphantomall: ${LOCALES:S/$/.out/g}
7672172Sphantom
7772172Sphantomafterinstall:
7872260Swollman.for lang in ${LOCALES}
79100872Sru	${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
8072260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
8172260Swollman.endfor
8288473Sphantom.for link in ${LATIN15LINKS}
8378010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8478010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
8578010Sache.endfor
8678008Sache.for link in ${ASCIILINKS}
8778010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8878008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
8978008Sache.endfor
9090583Sphantom.for link in ${CH_LINKS}
9190583Sphantom	ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
9290579Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
9390579Sphantom.endfor
9493890Sphantom	ln -sf ../ja_JP.eucJP/LC_MONETARY \
9593890Sphantom		${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
96118651Sache	ln -sf ../ko_KR.eucKR/LC_MONETARY \
97118651Sache		${LOCALEDIR}/ko_KR.CP949/LC_MONETARY
9872172Sphantom
9972172Sphantom.include <bsd.prog.mk>
100