Makefile revision 105445
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 105445 2002-10-19 13:04:05Z 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 \
1188479Sphantom		de_CH.ISO8859-1 \
1277982Sache		de_DE.ISO8859-1 \
1377982Sache		el_GR.ISO8859-7 \
1477982Sache		en_AU.ISO8859-1 \
1577982Sache		en_CA.ISO8859-1 \
1677982Sache		en_GB.ISO8859-1 \
1777982Sache		en_NZ.ISO8859-1 \
1877982Sache		en_US.ISO8859-1 \
1977982Sache		es_ES.ISO8859-1 \
2077982Sache		et_EE.ISO8859-15 \
2177982Sache		fi_FI.ISO8859-1 \
2290583Sphantom		fr_BE.ISO8859-1 \
2388473Sphantom		fr_CA.ISO8859-1 \
2477982Sache		fr_FR.ISO8859-1 \
2587043Sache		hi_IN.ISCII-DEV \
2677982Sache		hr_HR.ISO8859-2 \
2777982Sache		hu_HU.ISO8859-2 \
2877982Sache		is_IS.ISO8859-1 \
2977982Sache		it_IT.ISO8859-1 \
3088473Sphantom		ja_JP.eucJP \
3188473Sphantom		ko_KR.eucKR \
3290587Sphantom		nl_BE.ISO8859-1 \
3377982Sache		nl_NL.ISO8859-1 \
3477982Sache		no_NO.ISO8859-1 \
3577982Sache		pl_PL.ISO8859-2 \
3693885Sphantom		pt_BR.ISO8859-1 \
3777982Sache		pt_PT.ISO8859-1 \
3889077Sache		ro_RO.ISO8859-2 \
3972707Sphantom		ru_RU.CP866 \
4077982Sache		ru_RU.ISO8859-5 \
4172208Sasmodai		ru_RU.KOI8-R \
4277982Sache		sk_SK.ISO8859-2 \
4377982Sache		sl_SI.ISO8859-2 \
44105445Sache		sr_YU.ISO8859-2 \
45105445Sache		sr_YU.ISO8859-5 \
4677982Sache		sv_SE.ISO8859-1 \
4777982Sache		tr_TR.ISO8859-9 \
4888314Sache		uk_UA.ISO8859-5 \
4972565Sache		uk_UA.KOI8-U \
5088473Sphantom		zh_CN.eucCN \
5188473Sphantom		zh_TW.Big5
5272172Sphantom
5372172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
5472172Sphantom
5588473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
5688479SphantomLATIN15LINKS=	af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
5790583Sphantom		es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \
5890587Sphantom		nl_BE nl_NL no_NO pt_PT sv_SE
5978008Sache
6090583SphantomCH_SRC=		de_CH
6190583SphantomCH_LINKS=	fr_CH it_CH
6290579Sphantom
6372172Sphantom.SUFFIXES: .src .out
6472172Sphantom
6572172Sphantom.src.out:
6672172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6772172Sphantom
6872172Sphantomall: ${LOCALES:S/$/.out/g}
6972172Sphantom
7072172Sphantomafterinstall:
7172260Swollman.for lang in ${LOCALES}
72100872Sru	${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
7372260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
7472260Swollman.endfor
7588473Sphantom.for link in ${LATIN15LINKS}
7678010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
7778010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
7878010Sache.endfor
7978008Sache.for link in ${ASCIILINKS}
8078010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
8178008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
8278008Sache.endfor
8390583Sphantom.for link in ${CH_LINKS}
8490583Sphantom	ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
8590579Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
8690579Sphantom.endfor
8793890Sphantom	ln -sf ../ja_JP.eucJP/LC_MONETARY \
8893890Sphantom		${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
8972172Sphantom
9072172Sphantom.include <bsd.prog.mk>
91