Makefile revision 74341
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 74341 2001-03-16 12:21:11Z ache $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
672213SasmodaiLOCALES=	af_ZA.ISO_8859-1 \
772319Sphantom		cs_CZ.ISO_8859-2 \
872213Sasmodai		da_DK.ISO_8859-1 \
972211Sasmodai		de_DE.ISO_8859-1 \
1072319Sphantom		el_GR.ISO_8859-7 \
1172210Sasmodai		en_US.ISO_8859-1 \
1274341Sache		et_EE.ISO_8859-15 \
1372217Sasmodai		fi_FI.ISO_8859-1 \
1472212Sasmodai		fr_FR.ISO_8859-1 \
1572628Sache		hu_HU.ISO_8859-2 \
1672218Sasmodai		is_IS.ISO_8859-1 \
1772195Sasmodai		nl_NL.ISO_8859-1 \
1872209Sasmodai		no_NO.ISO_8859-1 \
1972337Sabial		pl_PL.ISO_8859-2 \
2072707Sphantom		ru_RU.CP866 \
2172707Sphantom		ru_RU.ISO_8859-5 \
2272208Sasmodai		ru_RU.KOI8-R \
2372362Sasmodai		sv_SE.ISO_8859-1 \
2472565Sache		uk_UA.KOI8-U \
2572363Sknu		ko_KR.EUC \
2672574Skeith		ja_JP.EUC \
2772574Skeith		zh_TW.Big5 \
2872574Skeith		zh_CN.EUC
2972172Sphantom
3072172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
3172259SwollmanUSENGLISH=	en_US.ISO_8859-1
3272259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
3372259SwollmanGBENGLISH=	en_GB.ISO_8859-1
3472259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
3572259SwollmanFRENCH=		fr_FR.ISO_8859-1
3672259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
3772172Sphantom
3872172Sphantom.SUFFIXES: .src .out
3972172Sphantom
4072172Sphantom.src.out:
4172172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
4272172Sphantom
4372172Sphantomall: ${LOCALES:S/$/.out/g}
4472172Sphantom
4572172Sphantomafterinstall:
4672258Swollman.for lang in ${LOCALES}
4772258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
4872258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
4972258Swollman.endfor
5072259Swollman.for link in ${USENGLISHLINKS}
5172259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5272259Swollman.endfor
5372259Swollman.for link in ${GBENGLISHLINKS}
5472259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5572259Swollman.endfor
5672259Swollman.for link in ${FRENCHLINKS}
5772259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5872259Swollman.endfor
5972172Sphantom
6072172Sphantom.include <bsd.prog.mk>
61