Makefile revision 115922
150476Speter# $FreeBSD: head/share/timedef/Makefile 115922 2003-06-07 00:12:12Z ache $
29958Sache
352379SacheNOMAN=YES
452379SacheCLEANFILES+= ${LOCALES:S/$/.out/g}
59958Sache
686073SacheLOCALES=	bg_BG.CP1251 \
7108428Sache		ca_ES.ISO8859-1 \
886073Sache		cs_CZ.ISO8859-2 \
977981Sache		da_DK.ISO8859-1 \
1077981Sache		de_AT.ISO8859-1 \
1177981Sache		de_DE.ISO8859-1 \
1277981Sache		el_GR.ISO8859-7 \
1377981Sache		en_GB.ISO8859-1 \
1477981Sache		en_US.ISO8859-1 \
1577981Sache		es_ES.ISO8859-1 \
1677981Sache		et_EE.ISO8859-15 \
1777981Sache		fi_FI.ISO8859-1 \
1877981Sache		fr_FR.ISO8859-1 \
1987043Sache		hi_IN.ISCII-DEV \
2077981Sache		hr_HR.ISO8859-2 \
2177981Sache		hu_HU.ISO8859-2 \
2277981Sache		is_IS.ISO8859-1 \
2388473Sphantom		ja_JP.eucJP \
2488473Sphantom		ja_JP.SJIS \
2577981Sache		it_IT.ISO8859-1 \
2688473Sphantom		ko_KR.eucKR \
2777981Sache		la_LN.ISO8859-1 \
2877981Sache		lt_LT.ISO8859-4 \
29105965Sache		lt_LT.ISO8859-13 \
3077981Sache		nl_NL.ISO8859-1 \
3177981Sache		no_NO.ISO8859-1 \
3277981Sache		pl_PL.ISO8859-2 \
3393885Sphantom		pt_BR.ISO8859-1 \
3477981Sache		pt_PT.ISO8859-1 \
3589077Sache		ro_RO.ISO8859-2 \
36115922Sache		ru_RU.CP1251 \
3788473Sphantom		ru_RU.CP866 \
3877981Sache		ru_RU.ISO8859-5 \
3988473Sphantom		ru_RU.KOI8-R \
4077981Sache		sk_SK.ISO8859-2 \
4177981Sache		sl_SI.ISO8859-2 \
42105445Sache		sr_YU.ISO8859-2 \
43105445Sache		sr_YU.ISO8859-5 \
4477981Sache		sv_SE.ISO8859-1 \
4577981Sache		tr_TR.ISO8859-9 \
4688314Sache		uk_UA.ISO8859-5 \
4788473Sphantom		uk_UA.KOI8-U \
4888473Sphantom		zh_CN.eucCN \
4952379Sache		zh_TW.Big5
5052379Sache
5152379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
5252379Sache
53108428SacheLATIN15LINKS=   ca_ES da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
5455012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
5588473SphantomDE_LINKS=	de_CH
5688473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
5788473SphantomIT_LINKS=	it_CH
5888473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
5988473SphantomNL_LINKS=	nl_BE
6088473SphantomUS_LINKS=	en_CA
6188473SphantomGB_LINKS=	en_AU en_NZ
6252379Sache
6352379Sache.SUFFIXES: .src .out
6452379Sache
6552379Sache.src.out:
6652379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6752379Sache
6852379Sacheall: ${LOCALES:S/$/.out/g}
6952379Sache
7052379Sacheafterinstall:
7152379Sache	for l in ${LOCALES}; do \
72100872Sru		${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
7352379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
7452379Sache	done
7588473Sphantom	for l in ${LATIN15LINKS}; do \
7677981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
7777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7852379Sache	done
7952379Sache	for l in ${DE_LINKS}; do \
8077981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8277981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8452379Sache	done
8552379Sache	for l in ${IT_LINKS}; do \
8677981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8877981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9052379Sache	done
9152379Sache	for l in ${FR_LINKS}; do \
9277981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9377981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9477981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9577981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9652379Sache	done
9752379Sache	for l in ${LN_LINKS}; do \
9877981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
9952379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
10052379Sache	done
10152379Sache	for l in ${NL_LINKS}; do \
10277981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10377981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10477981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10577981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10652379Sache	done
10752379Sache	for l in ${US_LINKS}; do \
10877981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10977981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11077981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11177981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11278006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11378006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11452379Sache	done
11552379Sache	for l in ${GB_LINKS}; do \
11677981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11877981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
12078006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12178006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
12252379Sache	done
12378006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
12478006Sache	       ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
12578006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
12678006Sache	       ${LOCALEDIR}/en_US.US-ASCII/LC_TIME
12788474Sphantom	ln -fs ../en_US.ISO8859-1/LC_TIME \
12888474Sphantom	       ${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME
12988474Sphantom	ln -fs ../en_US.ISO8859-15/LC_TIME \
13088474Sphantom	       ${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME
13152379Sache
13252379Sache.include <bsd.prog.mk>
133