Makefile revision 72628
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 72628 2001-02-18 06:51:01Z 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 \
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 \
1972208Sasmodai		ru_RU.KOI8-R \
2072362Sasmodai		sv_SE.ISO_8859-1 \
2172565Sache		uk_UA.KOI8-U \
2272363Sknu		ko_KR.EUC \
2372574Skeith		ja_JP.EUC \
2472574Skeith		zh_TW.Big5 \
2572574Skeith		zh_CN.EUC
2672172Sphantom
2772172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
2872259SwollmanUSENGLISH=	en_US.ISO_8859-1
2972259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
3072259SwollmanGBENGLISH=	en_GB.ISO_8859-1
3172259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
3272259SwollmanFRENCH=		fr_FR.ISO_8859-1
3372259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
3472172Sphantom
3572172Sphantom.SUFFIXES: .src .out
3672172Sphantom
3772172Sphantom.src.out:
3872172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
3972172Sphantom
4072172Sphantomall: ${LOCALES:S/$/.out/g}
4172172Sphantom
4272172Sphantomafterinstall:
4372258Swollman.for lang in ${LOCALES}
4472258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
4572258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
4672258Swollman.endfor
4772259Swollman.for link in ${USENGLISHLINKS}
4872259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4972259Swollman.endfor
5072259Swollman.for link in ${GBENGLISHLINKS}
5172259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5272259Swollman.endfor
5372259Swollman.for link in ${FRENCHLINKS}
5472259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5572259Swollman.endfor
5672172Sphantom
5772172Sphantom.include <bsd.prog.mk>
58