Makefile revision 122151
150476Speter# $FreeBSD: head/share/timedef/Makefile 122151 2003-11-05 23:39:03Z davidxu $
29958Sache
352379SacheNOMAN=YES
452379SacheCLEANFILES+= ${LOCALES:S/$/.out/g}
59958Sache
6118459SmtmLOCALES=	am_ET.UTF-8 \
7118459Smtm		bg_BG.CP1251 \
8108428Sache		ca_ES.ISO8859-1 \
986073Sache		cs_CZ.ISO8859-2 \
1077981Sache		da_DK.ISO8859-1 \
1177981Sache		de_AT.ISO8859-1 \
1277981Sache		de_DE.ISO8859-1 \
1377981Sache		el_GR.ISO8859-7 \
1477981Sache		en_GB.ISO8859-1 \
1577981Sache		en_US.ISO8859-1 \
1677981Sache		es_ES.ISO8859-1 \
1777981Sache		et_EE.ISO8859-15 \
1877981Sache		fi_FI.ISO8859-1 \
1977981Sache		fr_FR.ISO8859-1 \
2087043Sache		hi_IN.ISCII-DEV \
2177981Sache		hr_HR.ISO8859-2 \
2277981Sache		hu_HU.ISO8859-2 \
23117259Sache		hy_AM.ARMSCII-8 \
2477981Sache		is_IS.ISO8859-1 \
2588473Sphantom		ja_JP.eucJP \
2688473Sphantom		ja_JP.SJIS \
2777981Sache		it_IT.ISO8859-1 \
2888473Sphantom		ko_KR.eucKR \
2977981Sache		la_LN.ISO8859-1 \
3077981Sache		lt_LT.ISO8859-4 \
31105965Sache		lt_LT.ISO8859-13 \
3277981Sache		nl_NL.ISO8859-1 \
3377981Sache		no_NO.ISO8859-1 \
3477981Sache		pl_PL.ISO8859-2 \
3593885Sphantom		pt_BR.ISO8859-1 \
3677981Sache		pt_PT.ISO8859-1 \
3789077Sache		ro_RO.ISO8859-2 \
38115922Sache		ru_RU.CP1251 \
3988473Sphantom		ru_RU.CP866 \
4077981Sache		ru_RU.ISO8859-5 \
4188473Sphantom		ru_RU.KOI8-R \
4277981Sache		sk_SK.ISO8859-2 \
4377981Sache		sl_SI.ISO8859-2 \
44105445Sache		sr_YU.ISO8859-2 \
45105445Sache		sr_YU.ISO8859-5 \
4677981Sache		sv_SE.ISO8859-1 \
4777981Sache		tr_TR.ISO8859-9 \
4888314Sache		uk_UA.ISO8859-5 \
4988473Sphantom		uk_UA.KOI8-U \
5088473Sphantom		zh_CN.eucCN \
51118174Sache		zh_CN.GB18030 \
52122151Sdavidxu		zh_CN.GB2312 \
5352379Sache		zh_TW.Big5
5452379Sache
5552379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
5652379Sache
57108428SacheLATIN15LINKS=   ca_ES da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
5855012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
5988473SphantomDE_LINKS=	de_CH
6088473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
6188473SphantomIT_LINKS=	it_CH
6288473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
6388473SphantomNL_LINKS=	nl_BE
6488473SphantomUS_LINKS=	en_CA
6588473SphantomGB_LINKS=	en_AU en_NZ
6652379Sache
6752379Sache.SUFFIXES: .src .out
6852379Sache
6952379Sache.src.out:
7052379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7152379Sache
7252379Sacheall: ${LOCALES:S/$/.out/g}
7352379Sache
7452379Sacheafterinstall:
7552379Sache	for l in ${LOCALES}; do \
76100872Sru		${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
7752379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
7852379Sache	done
7988473Sphantom	for l in ${LATIN15LINKS}; do \
8077981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
8177981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8252379Sache	done
8352379Sache	for l in ${DE_LINKS}; do \
8477981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8577981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8677981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8852379Sache	done
8952379Sache	for l in ${IT_LINKS}; do \
9077981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9277981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9452379Sache	done
9552379Sache	for l in ${FR_LINKS}; do \
9677981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9877981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10052379Sache	done
10152379Sache	for l in ${LN_LINKS}; do \
10277981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
10352379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
10452379Sache	done
10552379Sache	for l in ${NL_LINKS}; do \
10677981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10877981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11052379Sache	done
11152379Sache	for l in ${US_LINKS}; do \
11277981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11377981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11477981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11577981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11678006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11778006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11852379Sache	done
11952379Sache	for l in ${GB_LINKS}; do \
12077981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
12277981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
12478006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12578006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
12652379Sache	done
12778006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
128118651Sache		${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
12978006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
130118651Sache		${LOCALEDIR}/en_US.US-ASCII/LC_TIME
13188474Sphantom	ln -fs ../en_US.ISO8859-1/LC_TIME \
132118651Sache		${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME
13388474Sphantom	ln -fs ../en_US.ISO8859-15/LC_TIME \
134118651Sache		${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME
135118651Sache	ln -fs ../ko_KR.eucKR/LC_TIME \
136118651Sache		${LOCALEDIR}/ko_KR.CP949/LC_TIME
13752379Sache
13852379Sache.include <bsd.prog.mk>
139