Makefile revision 89077
172172Sphantom# $FreeBSD: head/share/monetdef/Makefile 89077 2002-01-08 15:20:13Z 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 \
2288473Sphantom		fr_CA.ISO8859-1 \
2377982Sache		fr_FR.ISO8859-1 \
2487043Sache		hi_IN.ISCII-DEV \
2577982Sache		hr_HR.ISO8859-2 \
2677982Sache		hu_HU.ISO8859-2 \
2777982Sache		is_IS.ISO8859-1 \
2877982Sache		it_IT.ISO8859-1 \
2988473Sphantom		ja_JP.eucJP \
3088473Sphantom		ko_KR.eucKR \
3177982Sache		nl_NL.ISO8859-1 \
3277982Sache		no_NO.ISO8859-1 \
3377982Sache		pl_PL.ISO8859-2 \
3477982Sache		pt_PT.ISO8859-1 \
3589077Sache		ro_RO.ISO8859-2 \
3672707Sphantom		ru_RU.CP866 \
3777982Sache		ru_RU.ISO8859-5 \
3872208Sasmodai		ru_RU.KOI8-R \
3977982Sache		sk_SK.ISO8859-2 \
4077982Sache		sl_SI.ISO8859-2 \
4177982Sache		sv_SE.ISO8859-1 \
4277982Sache		tr_TR.ISO8859-9 \
4388314Sache		uk_UA.ISO8859-5 \
4472565Sache		uk_UA.KOI8-U \
4588473Sphantom		zh_CN.eucCN \
4688473Sphantom		zh_TW.Big5
4772172Sphantom
4872172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
4972172Sphantom
5088473SphantomASCIILINKS=	en_AU en_CA en_GB en_NZ en_US
5188479SphantomLATIN15LINKS=	af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
5278010Sache		es_ES fi_FI fr_CA fr_FR is_IS is_IS it_IT nl_NL no_NO \
5378010Sache		pt_PT sv_SE
5478008Sache
5572172Sphantom.SUFFIXES: .src .out
5672172Sphantom
5772172Sphantom.src.out:
5872172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5972172Sphantom
6072172Sphantomall: ${LOCALES:S/$/.out/g}
6172172Sphantom
6272172Sphantomafterinstall:
6372260Swollman.for lang in ${LOCALES}
6472260Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
6572260Swollman		${LOCALEDIR}/${lang}/LC_MONETARY
6672260Swollman.endfor
6788473Sphantom.for link in ${LATIN15LINKS}
6878010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
6978010Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
7078010Sache.endfor
7178008Sache.for link in ${ASCIILINKS}
7278010Sache	ln -sf ../${link}.ISO8859-1/LC_MONETARY \
7378008Sache		${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
7478008Sache.endfor
7572172Sphantom
7672172Sphantom.include <bsd.prog.mk>
77