Makefile revision 77982
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 76813 2001-05-18 13:55:25Z 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 \
1276112Sjmas		es_ES.ISO_8859-1 \
1374341Sache		et_EE.ISO_8859-15 \
1472217Sasmodai		fi_FI.ISO_8859-1 \
1572212Sasmodai		fr_FR.ISO_8859-1 \
1676105Sphantom		hr_HR.ISO_8859-2 \
1772628Sache		hu_HU.ISO_8859-2 \
1872218Sasmodai		is_IS.ISO_8859-1 \
1976105Sphantom		it_IT.ISO_8859-1 \
2072195Sasmodai		nl_NL.ISO_8859-1 \
2172209Sasmodai		no_NO.ISO_8859-1 \
2272337Sabial		pl_PL.ISO_8859-2 \
2376105Sphantom		pt_PT.ISO_8859-1 \
2472707Sphantom		ru_RU.CP866 \
2572707Sphantom		ru_RU.ISO_8859-5 \
2672208Sasmodai		ru_RU.KOI8-R \
2776813Sache		sk_SK.ISO_8859-2 \
2876105Sphantom		sl_SI.ISO_8859-2 \
2972362Sasmodai		sv_SE.ISO_8859-1 \
3076105Sphantom		tr_TR.ISO_8859-9 \
3172565Sache		uk_UA.KOI8-U \
3272363Sknu		ko_KR.EUC \
3372574Skeith		ja_JP.EUC \
3472574Skeith		zh_TW.Big5 \
3572574Skeith		zh_CN.EUC
3672172Sphantom
3772172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
3876105Sphantom
3972259SwollmanUSENGLISH=	en_US.ISO_8859-1
4072259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
4172259SwollmanGBENGLISH=	en_GB.ISO_8859-1
4272259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
4372259SwollmanFRENCH=		fr_FR.ISO_8859-1
4472259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
4576105SphantomGERMAN=		de_DE.ISO_8859-1
4676105SphantomGERMANLINKS=	de_AT.ISO_8859-1
4772172Sphantom
4872172Sphantom.SUFFIXES: .src .out
4972172Sphantom
5072172Sphantom.src.out:
5172172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5272172Sphantom
5372172Sphantomall: ${LOCALES:S/$/.out/g}
5472172Sphantom
5572172Sphantomafterinstall:
5672258Swollman.for lang in ${LOCALES}
5772258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
5872258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
5972258Swollman.endfor
6072259Swollman.for link in ${USENGLISHLINKS}
6172259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6272259Swollman.endfor
6372259Swollman.for link in ${GBENGLISHLINKS}
6472259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6572259Swollman.endfor
6672259Swollman.for link in ${FRENCHLINKS}
6772259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6872259Swollman.endfor
6972172Sphantom
7072172Sphantom.include <bsd.prog.mk>
71