Makefile revision 118459
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 118459 2003-08-05 05:42:08Z mtm $
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 \
5788473Sphantom		zh_TW.Big5
5872172Sphantom
5972172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
6072172Sphantom
6188473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
62108428SacheLATIN15LINKS=   af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
63108428Sache		en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT \
64108428Sache		it_CH nl_BE nl_NL no_NO pt_PT sv_SE
6578008Sache
6690583SphantomCH_SRC=		de_CH
6790583SphantomCH_LINKS=	fr_CH it_CH
6890579Sphantom
6972172Sphantom.SUFFIXES: .src .out
7072172Sphantom
7172172Sphantom.src.out:
7272172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7372172Sphantom
7472172Sphantomall: ${LOCALES:S/$/.out/g}
7572172Sphantom
7672172Sphantomafterinstall:
7772260Swollman.for lang in ${LOCALES}
78100872Sru	${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
7972260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
8072260Swollman.endfor
8188473Sphantom.for link in ${LATIN15LINKS}
8278010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8378010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
8478010Sache.endfor
8578008Sache.for link in ${ASCIILINKS}
8678010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8778008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
8878008Sache.endfor
8990583Sphantom.for link in ${CH_LINKS}
9090583Sphantom	ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
9190579Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
9290579Sphantom.endfor
9393890Sphantom	ln -sf ../ja_JP.eucJP/LC_MONETARY \
9493890Sphantom		${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
9572172Sphantom
9672172Sphantom.include <bsd.prog.mk>
97