Makefile revision 125208
150476Speter# $FreeBSD: head/share/timedef/Makefile 125208 2004-01-29 16:28:22Z ache $
29958Sache
352379SacheNOMAN=YES
452379SacheCLEANFILES+= ${LOCALES:S/$/.out/g}
59958Sache
6118459SmtmLOCALES=	am_ET.UTF-8 \
7123682Sache		be_BY.CP1131 \
8123682Sache		be_BY.CP1251 \
9123682Sache		be_BY.ISO8859-5 \
10118459Smtm		bg_BG.CP1251 \
11108428Sache		ca_ES.ISO8859-1 \
1286073Sache		cs_CZ.ISO8859-2 \
1377981Sache		da_DK.ISO8859-1 \
1477981Sache		de_AT.ISO8859-1 \
1577981Sache		de_DE.ISO8859-1 \
1677981Sache		el_GR.ISO8859-7 \
1777981Sache		en_GB.ISO8859-1 \
1877981Sache		en_US.ISO8859-1 \
1977981Sache		es_ES.ISO8859-1 \
2077981Sache		et_EE.ISO8859-15 \
2177981Sache		fi_FI.ISO8859-1 \
2277981Sache		fr_FR.ISO8859-1 \
2387043Sache		hi_IN.ISCII-DEV \
2477981Sache		hr_HR.ISO8859-2 \
2577981Sache		hu_HU.ISO8859-2 \
26117259Sache		hy_AM.ARMSCII-8 \
2777981Sache		is_IS.ISO8859-1 \
2888473Sphantom		ja_JP.eucJP \
2988473Sphantom		ja_JP.SJIS \
3077981Sache		it_IT.ISO8859-1 \
31125208Sache		kk_KZ.PT154 \
3288473Sphantom		ko_KR.eucKR \
3377981Sache		la_LN.ISO8859-1 \
3477981Sache		lt_LT.ISO8859-4 \
35105965Sache		lt_LT.ISO8859-13 \
3677981Sache		nl_NL.ISO8859-1 \
3777981Sache		no_NO.ISO8859-1 \
3877981Sache		pl_PL.ISO8859-2 \
3993885Sphantom		pt_BR.ISO8859-1 \
4077981Sache		pt_PT.ISO8859-1 \
4189077Sache		ro_RO.ISO8859-2 \
42115922Sache		ru_RU.CP1251 \
4388473Sphantom		ru_RU.CP866 \
4477981Sache		ru_RU.ISO8859-5 \
4588473Sphantom		ru_RU.KOI8-R \
4677981Sache		sk_SK.ISO8859-2 \
4777981Sache		sl_SI.ISO8859-2 \
48105445Sache		sr_YU.ISO8859-2 \
49105445Sache		sr_YU.ISO8859-5 \
5077981Sache		sv_SE.ISO8859-1 \
5177981Sache		tr_TR.ISO8859-9 \
5288314Sache		uk_UA.ISO8859-5 \
5388473Sphantom		uk_UA.KOI8-U \
5488473Sphantom		zh_CN.eucCN \
55118174Sache		zh_CN.GB18030 \
56122151Sdavidxu		zh_CN.GB2312 \
5752379Sache		zh_TW.Big5
5852379Sache
5952379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
6052379Sache
61108428SacheLATIN15LINKS=   ca_ES da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
6255012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
6388473SphantomDE_LINKS=	de_CH
6488473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
6588473SphantomIT_LINKS=	it_CH
6688473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
6788473SphantomNL_LINKS=	nl_BE
6888473SphantomUS_LINKS=	en_CA
6988473SphantomGB_LINKS=	en_AU en_NZ
7052379Sache
7152379Sache.SUFFIXES: .src .out
7252379Sache
7352379Sache.src.out:
7452379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7552379Sache
7652379Sacheall: ${LOCALES:S/$/.out/g}
7752379Sache
7852379Sacheafterinstall:
7952379Sache	for l in ${LOCALES}; do \
80100872Sru		${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
8152379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
8252379Sache	done
8388473Sphantom	for l in ${LATIN15LINKS}; do \
8477981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
8577981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8652379Sache	done
8752379Sache	for l in ${DE_LINKS}; do \
8877981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8977981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9077981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
9177981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9252379Sache	done
9352379Sache	for l in ${IT_LINKS}; do \
9477981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9577981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9677981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9852379Sache	done
9952379Sache	for l in ${FR_LINKS}; do \
10077981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
10177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10277981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
10377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10452379Sache	done
10552379Sache	for l in ${LN_LINKS}; do \
10677981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
10752379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
10852379Sache	done
10952379Sache	for l in ${NL_LINKS}; do \
11077981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
11177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11277981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
11377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11452379Sache	done
11552379Sache	for l in ${US_LINKS}; do \
11677981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11877981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
12078006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
12178006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
12252379Sache	done
12352379Sache	for l in ${GB_LINKS}; do \
12477981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12577981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
12677981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
12878006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12978006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
13052379Sache	done
13178006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
132118651Sache		${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
13378006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
134118651Sache		${LOCALEDIR}/en_US.US-ASCII/LC_TIME
13588474Sphantom	ln -fs ../en_US.ISO8859-1/LC_TIME \
136118651Sache		${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME
13788474Sphantom	ln -fs ../en_US.ISO8859-15/LC_TIME \
138118651Sache		${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME
139118651Sache	ln -fs ../ko_KR.eucKR/LC_TIME \
140118651Sache		${LOCALEDIR}/ko_KR.CP949/LC_TIME
141122178Sdavidxu	ln -fs ../zh_CN.GB2312/LC_TIME \
142122178Sdavidxu		${LOCALEDIR}/zh_CN.GBK/LC_TIME
14352379Sache.include <bsd.prog.mk>
144