Makefile revision 72259
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 72259 2001-02-09 21:17:39Z wollman $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
672213SasmodaiLOCALES=	af_ZA.ISO_8859-1 \
772213Sasmodai		da_DK.ISO_8859-1 \
872211Sasmodai		de_DE.ISO_8859-1 \
972210Sasmodai		en_US.ISO_8859-1 \
1072217Sasmodai		fi_FI.ISO_8859-1 \
1172212Sasmodai		fr_FR.ISO_8859-1 \
1272218Sasmodai		is_IS.ISO_8859-1 \
1372195Sasmodai		nl_NL.ISO_8859-1 \
1472209Sasmodai		no_NO.ISO_8859-1 \
1572208Sasmodai		ru_RU.KOI8-R \
1672208Sasmodai		sv_SE.ISO_8859-1
1772172Sphantom
1872172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
1972259SwollmanUSENGLISH=	en_US.ISO_8859-1
2072259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
2172259SwollmanGBENGLISH=	en_GB.ISO_8859-1
2272259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
2372259SwollmanFRENCH=		fr_FR.ISO_8859-1
2472259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
2572172Sphantom
2672172Sphantom.SUFFIXES: .src .out
2772172Sphantom
2872172Sphantom.src.out:
2972172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
3072172Sphantom
3172172Sphantomall: ${LOCALES:S/$/.out/g}
3272172Sphantom
3372172Sphantomafterinstall:
3472258Swollman.for lang in ${LOCALES}
3572258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
3672258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
3772258Swollman.endfor
3872259Swollman.for link in ${USENGLISHLINKS}
3972259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4072259Swollman.endfor
4172259Swollman.for link in ${GBENGLISHLINKS}
4272259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4372259Swollman.endfor
4472259Swollman.for link in ${FRENCHLINKS}
4572259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
4672259Swollman.endfor
4772172Sphantom
4872172Sphantom.include <bsd.prog.mk>
49