Makefile revision 72362
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 72362 2001-02-11 15:40:01Z asmodai $
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 \
1472218Sasmodai		is_IS.ISO_8859-1 \
1572195Sasmodai		nl_NL.ISO_8859-1 \
1672209Sasmodai		no_NO.ISO_8859-1 \
1772337Sabial		pl_PL.ISO_8859-2 \
1872208Sasmodai		ru_RU.KOI8-R \
1972362Sasmodai		sv_SE.ISO_8859-1 \
2072362Sasmodai		ko_KR.EUC
2172172Sphantom
2272172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
2372259SwollmanUSENGLISH=	en_US.ISO_8859-1
2472259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
2572259SwollmanGBENGLISH=	en_GB.ISO_8859-1
2672259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
2772259SwollmanFRENCH=		fr_FR.ISO_8859-1
2872259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
2972172Sphantom
3072172Sphantom.SUFFIXES: .src .out
3172172Sphantom
3272172Sphantom.src.out:
3372172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
3472172Sphantom
3572172Sphantomall: ${LOCALES:S/$/.out/g}
3672172Sphantom
3772172Sphantomafterinstall:
3872258Swollman.for lang in ${LOCALES}
3972258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
4072258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
4172258Swollman.endfor
4272259Swollman.for link in ${USENGLISHLINKS}
4372259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4472259Swollman.endfor
4572259Swollman.for link in ${GBENGLISHLINKS}
4672259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4772259Swollman.endfor
4872259Swollman.for link in ${FRENCHLINKS}
4972259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
5072259Swollman.endfor
5172172Sphantom
5272172Sphantom.include <bsd.prog.mk>
53