Makefile revision 72707
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 72707 2001-02-19 20:05:22Z phantom $
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 \
1272217Sasmodai		fi_FI.ISO_8859-1 \
1372212Sasmodai		fr_FR.ISO_8859-1 \
1472628Sache		hu_HU.ISO_8859-2 \
1572218Sasmodai		is_IS.ISO_8859-1 \
1672195Sasmodai		nl_NL.ISO_8859-1 \
1772209Sasmodai		no_NO.ISO_8859-1 \
1872337Sabial		pl_PL.ISO_8859-2 \
1972707Sphantom		ru_RU.CP866 \
2072707Sphantom		ru_RU.ISO_8859-5 \
2172208Sasmodai		ru_RU.KOI8-R \
2272362Sasmodai		sv_SE.ISO_8859-1 \
2372565Sache		uk_UA.KOI8-U \
2472363Sknu		ko_KR.EUC \
2572574Skeith		ja_JP.EUC \
2672574Skeith		zh_TW.Big5 \
2772574Skeith		zh_CN.EUC
2872172Sphantom
2972172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
3072259SwollmanUSENGLISH=	en_US.ISO_8859-1
3172259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
3272259SwollmanGBENGLISH=	en_GB.ISO_8859-1
3372259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
3472259SwollmanFRENCH=		fr_FR.ISO_8859-1
3572259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
3672172Sphantom
3772172Sphantom.SUFFIXES: .src .out
3872172Sphantom
3972172Sphantom.src.out:
4072172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
4172172Sphantom
4272172Sphantomall: ${LOCALES:S/$/.out/g}
4372172Sphantom
4472172Sphantomafterinstall:
4572258Swollman.for lang in ${LOCALES}
4672258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
4772258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
4872258Swollman.endfor
4972259Swollman.for link in ${USENGLISHLINKS}
5072259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5172259Swollman.endfor
5272259Swollman.for link in ${GBENGLISHLINKS}
5372259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5472259Swollman.endfor
5572259Swollman.for link in ${FRENCHLINKS}
5672259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5772259Swollman.endfor
5872172Sphantom
5972172Sphantom.include <bsd.prog.mk>
60