Makefile revision 72319
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 72319 2001-02-10 13:35:30Z 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 \
1472218Sasmodai		is_IS.ISO_8859-1 \
1572195Sasmodai		nl_NL.ISO_8859-1 \
1672209Sasmodai		no_NO.ISO_8859-1 \
1772208Sasmodai		ru_RU.KOI8-R \
1872208Sasmodai		sv_SE.ISO_8859-1
1972172Sphantom
2072172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
2172259SwollmanUSENGLISH=	en_US.ISO_8859-1
2272259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
2372259SwollmanGBENGLISH=	en_GB.ISO_8859-1
2472259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
2572259SwollmanFRENCH=		fr_FR.ISO_8859-1
2672259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
2772172Sphantom
2872172Sphantom.SUFFIXES: .src .out
2972172Sphantom
3072172Sphantom.src.out:
3172172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
3272172Sphantom
3372172Sphantomall: ${LOCALES:S/$/.out/g}
3472172Sphantom
3572172Sphantomafterinstall:
3672258Swollman.for lang in ${LOCALES}
3772258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
3872258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
3972258Swollman.endfor
4072259Swollman.for link in ${USENGLISHLINKS}
4172259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4272259Swollman.endfor
4372259Swollman.for link in ${GBENGLISHLINKS}
4472259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4572259Swollman.endfor
4672259Swollman.for link in ${FRENCHLINKS}
4772259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4872259Swollman.endfor
4972172Sphantom
5072172Sphantom.include <bsd.prog.mk>
51