Makefile revision 76112
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 76112 2001-04-29 00:38:26Z jmas $
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 \
2776105Sphantom		sl_SI.ISO_8859-2 \
2872362Sasmodai		sv_SE.ISO_8859-1 \
2976105Sphantom		tr_TR.ISO_8859-9 \
3072565Sache		uk_UA.KOI8-U \
3172363Sknu		ko_KR.EUC \
3272574Skeith		ja_JP.EUC \
3372574Skeith		zh_TW.Big5 \
3472574Skeith		zh_CN.EUC
3572172Sphantom
3672172SphantomLOCALEDIR=      ${DESTDIR}/usr/share/locale
3776105Sphantom
3872259SwollmanUSENGLISH=	en_US.ISO_8859-1
3972259SwollmanUSENGLISHLINKS=	en_CA.ISO_8859-1 en_GB.ISO_8859-1
4072259SwollmanGBENGLISH=	en_GB.ISO_8859-1
4172259SwollmanGBENGLISHLINKS=	en_AU.ISO_8859-1 en_NZ.ISO_8859-1
4272259SwollmanFRENCH=		fr_FR.ISO_8859-1
4372259SwollmanFRENCHLINKS=	fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
4476105SphantomGERMAN=		de_DE.ISO_8859-1
4576105SphantomGERMANLINKS=	de_AT.ISO_8859-1
4672172Sphantom
4772172Sphantom.SUFFIXES: .src .out
4872172Sphantom
4972172Sphantom.src.out:
5072172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5172172Sphantom
5272172Sphantomall: ${LOCALES:S/$/.out/g}
5372172Sphantom
5472172Sphantomafterinstall:
5572258Swollman.for lang in ${LOCALES}
5672258Swollman	${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
5772258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
5872258Swollman.endfor
5972259Swollman.for link in ${USENGLISHLINKS}
6072259Swollman	ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6172259Swollman.endfor
6272259Swollman.for link in ${GBENGLISHLINKS}
6372259Swollman	ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6472259Swollman.endfor
6572259Swollman.for link in ${FRENCHLINKS}
6672259Swollman	ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
6772259Swollman.endfor
6872172Sphantom
6972172Sphantom.include <bsd.prog.mk>
70