Makefile revision 76105
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 76105 2001-04-28 15:13: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 \
1274341Sache		et_EE.ISO_8859-15 \
1372217Sasmodai		fi_FI.ISO_8859-1 \
1472212Sasmodai		fr_FR.ISO_8859-1 \
1576105Sphantom		hr_HR.ISO_8859-2 \
1672628Sache		hu_HU.ISO_8859-2 \
1772218Sasmodai		is_IS.ISO_8859-1 \
1876105Sphantom		it_IT.ISO_8859-1 \
1972195Sasmodai		nl_NL.ISO_8859-1 \
2072209Sasmodai		no_NO.ISO_8859-1 \
2172337Sabial		pl_PL.ISO_8859-2 \
2276105Sphantom		pt_PT.ISO_8859-1 \
2372707Sphantom		ru_RU.CP866 \
2472707Sphantom		ru_RU.ISO_8859-5 \
2572208Sasmodai		ru_RU.KOI8-R \
2676105Sphantom		sl_SI.ISO_8859-2 \
2772362Sasmodai		sv_SE.ISO_8859-1 \
2876105Sphantom		tr_TR.ISO_8859-9 \
2972565Sache		uk_UA.KOI8-U \
3072363Sknu		ko_KR.EUC \
3172574Skeith		ja_JP.EUC \
3272574Skeith		zh_TW.Big5 \
3372574Skeith		zh_CN.EUC
3472172Sphantom
3572172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
3676105Sphantom
3772259SwollmanUSENGLISH=	en_US.ISO_8859-1
3872259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
3972259SwollmanGBENGLISH=	en_GB.ISO_8859-1
4072259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
4172259SwollmanFRENCH=		fr_FR.ISO_8859-1
4272259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
4376105SphantomGERMAN=		de_DE.ISO_8859-1
4476105SphantomGERMANLINKS=	de_AT.ISO_8859-1
4572172Sphantom
4672172Sphantom.SUFFIXES: .src .out
4772172Sphantom
4872172Sphantom.src.out:
4972172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5072172Sphantom
5172172Sphantomall: ${LOCALES:S/$/.out/g}
5272172Sphantom
5372172Sphantomafterinstall:
5472258Swollman.for lang in ${LOCALES}
5572258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
5672258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
5772258Swollman.endfor
5872259Swollman.for link in ${USENGLISHLINKS}
5972259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6072259Swollman.endfor
6172259Swollman.for link in ${GBENGLISHLINKS}
6272259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6372259Swollman.endfor
6472259Swollman.for link in ${FRENCHLINKS}
6572259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6672259Swollman.endfor
6772172Sphantom
6872172Sphantom.include <bsd.prog.mk>
69