Makefile revision 90583
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 90583 2002-02-12 18:23:21Z phantom $
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 \
3277982Sache		nl_NL.ISO8859-1 \
3377982Sache		no_NO.ISO8859-1 \
3477982Sache		pl_PL.ISO8859-2 \
3577982Sache		pt_PT.ISO8859-1 \
3689077Sache		ro_RO.ISO8859-2 \
3772707Sphantom		ru_RU.CP866 \
3877982Sache		ru_RU.ISO8859-5 \
3972208Sasmodai		ru_RU.KOI8-R \
4077982Sache		sk_SK.ISO8859-2 \
4177982Sache		sl_SI.ISO8859-2 \
4277982Sache		sv_SE.ISO8859-1 \
4377982Sache		tr_TR.ISO8859-9 \
4488314Sache		uk_UA.ISO8859-5 \
4572565Sache		uk_UA.KOI8-U \
4688473Sphantom		zh_CN.eucCN \
4788473Sphantom		zh_TW.Big5
4872172Sphantom
4972172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
5072172Sphantom
5188473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
5288479SphantomLATIN15LINKS=	af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
5390583Sphantom		es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \
5490579Sphantom		nl_NL no_NO pt_PT sv_SE
5578008Sache
5690583SphantomCH_SRC=		de_CH
5790583SphantomCH_LINKS=	fr_CH it_CH
5890579Sphantom
5972172Sphantom.SUFFIXES: .src .out
6072172Sphantom
6172172Sphantom.src.out:
6272172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6372172Sphantom
6472172Sphantomall: ${LOCALES:S/$/.out/g}
6572172Sphantom
6672172Sphantomafterinstall:
6772260Swollman.for lang in ${LOCALES}
6872260Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
6972260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
7072260Swollman.endfor
7188473Sphantom.for link in ${LATIN15LINKS}
7278010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
7378010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
7478010Sache.endfor
7578008Sache.for link in ${ASCIILINKS}
7678010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
7778008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
7878008Sache.endfor
7990583Sphantom.for link in ${CH_LINKS}
8090583Sphantom	ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
8190579Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
8290579Sphantom.endfor
8372172Sphantom
8472172Sphantom.include <bsd.prog.mk>
85