Makefile revision 118651
150476Speter# $FreeBSD: head/share/timedef/Makefile 118651 2003-08-08 13:43:49Z ache $
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 \
5252379Sache		zh_TW.Big5
5352379Sache
5452379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
5552379Sache
56108428SacheLATIN15LINKS=   ca_ES da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
5755012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
5888473SphantomDE_LINKS=	de_CH
5988473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
6088473SphantomIT_LINKS=	it_CH
6188473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
6288473SphantomNL_LINKS=	nl_BE
6388473SphantomUS_LINKS=	en_CA
6488473SphantomGB_LINKS=	en_AU en_NZ
6552379Sache
6652379Sache.SUFFIXES: .src .out
6752379Sache
6852379Sache.src.out:
6952379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
7052379Sache
7152379Sacheall: ${LOCALES:S/$/.out/g}
7252379Sache
7352379Sacheafterinstall:
7452379Sache	for l in ${LOCALES}; do \
75100872Sru		${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
7652379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
7752379Sache	done
7888473Sphantom	for l in ${LATIN15LINKS}; do \
7977981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
8077981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8152379Sache	done
8252379Sache	for l in ${DE_LINKS}; do \
8377981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8477981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8577981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8677981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8752379Sache	done
8852379Sache	for l in ${IT_LINKS}; do \
8977981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9077981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9177981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9277981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9352379Sache	done
9452379Sache	for l in ${FR_LINKS}; do \
9577981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9677981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9777981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9877981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9952379Sache	done
10052379Sache	for l in ${LN_LINKS}; do \
10177981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
10252379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
10352379Sache	done
10452379Sache	for l in ${NL_LINKS}; do \
10577981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10677981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10777981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10877981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10952379Sache	done
11052379Sache	for l in ${US_LINKS}; do \
11177981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11277981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11377981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11477981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11578006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11678006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11752379Sache	done
11852379Sache	for l in ${GB_LINKS}; do \
11977981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12077981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
12177981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12277981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
12378006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12478006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
12552379Sache	done
12678006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
127118651Sache		${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
12878006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
129118651Sache		${LOCALEDIR}/en_US.US-ASCII/LC_TIME
13088474Sphantom	ln -fs ../en_US.ISO8859-1/LC_TIME \
131118651Sache		${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME
13288474Sphantom	ln -fs ../en_US.ISO8859-15/LC_TIME \
133118651Sache		${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME
134118651Sache	ln -fs ../ko_KR.eucKR/LC_TIME \
135118651Sache		${LOCALEDIR}/ko_KR.CP949/LC_TIME
13652379Sache
13752379Sache.include <bsd.prog.mk>
138