Makefile revision 72337
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 72337 2001-02-10 22:44:31Z abial $
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 \
1972208Sasmodai		sv_SE.ISO_8859-1
2072172Sphantom
2172172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
2272259SwollmanUSENGLISH=	en_US.ISO_8859-1
2372259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
2472259SwollmanGBENGLISH=	en_GB.ISO_8859-1
2572259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
2672259SwollmanFRENCH=		fr_FR.ISO_8859-1
2772259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
2872172Sphantom
2972172Sphantom.SUFFIXES: .src .out
3072172Sphantom
3172172Sphantom.src.out:
3272172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
3372172Sphantom
3472172Sphantomall: ${LOCALES:S/$/.out/g}
3572172Sphantom
3672172Sphantomafterinstall:
3772258Swollman.for lang in ${LOCALES}
3872258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
3972258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
4072258Swollman.endfor
4172259Swollman.for link in ${USENGLISHLINKS}
4272259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4372259Swollman.endfor
4472259Swollman.for link in ${GBENGLISHLINKS}
4572259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4672259Swollman.endfor
4772259Swollman.for link in ${FRENCHLINKS}
4872259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4972259Swollman.endfor
5072172Sphantom
5172172Sphantom.include <bsd.prog.mk>
52