Makefile revision 115924
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 115924 2003-06-07 00:28:58Z ache $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
677982SacheLOCALES=        af_ZA.ISO8859-1 \
786072Sache		bg_BG.CP1251 \
8108428Sache		ca_ES.ISO8859-1 \
977982Sache		cs_CZ.ISO8859-2 \
1077982Sache		da_DK.ISO8859-1 \
1177982Sache		de_AT.ISO8859-1 \
1288479Sphantom		de_CH.ISO8859-1 \
1377982Sache		de_DE.ISO8859-1 \
1477982Sache		el_GR.ISO8859-7 \
1577982Sache		en_AU.ISO8859-1 \
1677982Sache		en_CA.ISO8859-1 \
1777982Sache		en_GB.ISO8859-1 \
1877982Sache		en_NZ.ISO8859-1 \
1977982Sache		en_US.ISO8859-1 \
2077982Sache		es_ES.ISO8859-1 \
2177982Sache		et_EE.ISO8859-15 \
2277982Sache		fi_FI.ISO8859-1 \
2390583Sphantom		fr_BE.ISO8859-1 \
2488473Sphantom		fr_CA.ISO8859-1 \
2577982Sache		fr_FR.ISO8859-1 \
2687043Sache		hi_IN.ISCII-DEV \
2777982Sache		hr_HR.ISO8859-2 \
2877982Sache		hu_HU.ISO8859-2 \
2977982Sache		is_IS.ISO8859-1 \
3077982Sache		it_IT.ISO8859-1 \
3188473Sphantom		ja_JP.eucJP \
3288473Sphantom		ko_KR.eucKR \
33105965Sache		lt_LT.ISO8859-13 \
3490587Sphantom		nl_BE.ISO8859-1 \
3577982Sache		nl_NL.ISO8859-1 \
3677982Sache		no_NO.ISO8859-1 \
3777982Sache		pl_PL.ISO8859-2 \
3893885Sphantom		pt_BR.ISO8859-1 \
3977982Sache		pt_PT.ISO8859-1 \
4089077Sache		ro_RO.ISO8859-2 \
41115924Sache		ru_RU.CP1251 \
4272707Sphantom		ru_RU.CP866 \
4377982Sache		ru_RU.ISO8859-5 \
4472208Sasmodai		ru_RU.KOI8-R \
4577982Sache		sk_SK.ISO8859-2 \
4677982Sache		sl_SI.ISO8859-2 \
47105445Sache		sr_YU.ISO8859-2 \
48105445Sache		sr_YU.ISO8859-5 \
4977982Sache		sv_SE.ISO8859-1 \
5077982Sache		tr_TR.ISO8859-9 \
5188314Sache		uk_UA.ISO8859-5 \
5272565Sache		uk_UA.KOI8-U \
5388473Sphantom		zh_CN.eucCN \
5488473Sphantom		zh_TW.Big5
5572172Sphantom
5672172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
5772172Sphantom
5888473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
59108428SacheLATIN15LINKS=   af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
60108428Sache		en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT \
61108428Sache		it_CH nl_BE nl_NL no_NO pt_PT sv_SE
6278008Sache
6390583SphantomCH_SRC=		de_CH
6490583SphantomCH_LINKS=	fr_CH it_CH
6590579Sphantom
6672172Sphantom.SUFFIXES: .src .out
6772172Sphantom
6872172Sphantom.src.out:
6972172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7072172Sphantom
7172172Sphantomall: ${LOCALES:S/$/.out/g}
7272172Sphantom
7372172Sphantomafterinstall:
7472260Swollman.for lang in ${LOCALES}
75100872Sru	${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
7672260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
7772260Swollman.endfor
7888473Sphantom.for link in ${LATIN15LINKS}
7978010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8078010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
8178010Sache.endfor
8278008Sache.for link in ${ASCIILINKS}
8378010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8478008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
8578008Sache.endfor
8690583Sphantom.for link in ${CH_LINKS}
8790583Sphantom	ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
8890579Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
8990579Sphantom.endfor
9093890Sphantom	ln -sf ../ja_JP.eucJP/LC_MONETARY \
9193890Sphantom		${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
9272172Sphantom
9372172Sphantom.include <bsd.prog.mk>
94