Makefile revision 89077
150476Speter# $FreeBSD: head/share/timedef/Makefile 89077 2002-01-08 15:20:13Z ache $
29958Sache
352379SacheNOMAN=YES
452379SacheCLEANFILES+= ${LOCALES:S/$/.out/g}
59958Sache
686073SacheLOCALES=	bg_BG.CP1251 \
786073Sache		cs_CZ.ISO8859-2 \
877981Sache		da_DK.ISO8859-1 \
977981Sache		de_AT.ISO8859-1 \
1077981Sache		de_DE.ISO8859-1 \
1177981Sache		el_GR.ISO8859-7 \
1277981Sache		en_GB.ISO8859-1 \
1377981Sache		en_US.ISO8859-1 \
1477981Sache		es_ES.ISO8859-1 \
1577981Sache		et_EE.ISO8859-15 \
1677981Sache		fi_FI.ISO8859-1 \
1777981Sache		fr_FR.ISO8859-1 \
1887043Sache		hi_IN.ISCII-DEV \
1977981Sache		hr_HR.ISO8859-2 \
2077981Sache		hu_HU.ISO8859-2 \
2177981Sache		is_IS.ISO8859-1 \
2288473Sphantom		ja_JP.eucJP \
2388473Sphantom		ja_JP.SJIS \
2477981Sache		it_IT.ISO8859-1 \
2588473Sphantom		ko_KR.eucKR \
2677981Sache		la_LN.ISO8859-1 \
2777981Sache		lt_LT.ISO8859-4 \
2877981Sache		nl_NL.ISO8859-1 \
2977981Sache		no_NO.ISO8859-1 \
3077981Sache		pl_PL.ISO8859-2 \
3177981Sache		pt_PT.ISO8859-1 \
3289077Sache		ro_RO.ISO8859-2 \
3388473Sphantom		ru_RU.CP866 \
3477981Sache		ru_RU.ISO8859-5 \
3588473Sphantom		ru_RU.KOI8-R \
3677981Sache		sk_SK.ISO8859-2 \
3777981Sache		sl_SI.ISO8859-2 \
3877981Sache		sv_SE.ISO8859-1 \
3977981Sache		tr_TR.ISO8859-9 \
4088314Sache		uk_UA.ISO8859-5 \
4188473Sphantom		uk_UA.KOI8-U \
4288473Sphantom		zh_CN.eucCN \
4352379Sache		zh_TW.Big5
4452379Sache
4552379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
4652379Sache
4788473SphantomLATIN15LINKS=	da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
4855012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
4988473SphantomDE_LINKS=	de_CH
5088473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
5188473SphantomIT_LINKS=	it_CH
5288473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
5388473SphantomNL_LINKS=	nl_BE
5488473SphantomUS_LINKS=	en_CA
5588473SphantomGB_LINKS=	en_AU en_NZ
5652379Sache
5752379Sache.SUFFIXES: .src .out
5852379Sache
5952379Sache.src.out:
6052379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6152379Sache
6252379Sacheall: ${LOCALES:S/$/.out/g}
6352379Sache
6452379Sacheafterinstall:
6552379Sache	for l in ${LOCALES}; do \
6652379Sache		${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
6752379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
6852379Sache	done
6988473Sphantom	for l in ${LATIN15LINKS}; do \
7077981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
7177981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7252379Sache	done
7352379Sache	for l in ${DE_LINKS}; do \
7477981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
7577981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
7677981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
7777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7852379Sache	done
7952379Sache	for l in ${IT_LINKS}; do \
8077981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8277981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8452379Sache	done
8552379Sache	for l in ${FR_LINKS}; do \
8677981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
8777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8877981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
8977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9052379Sache	done
9152379Sache	for l in ${LN_LINKS}; do \
9277981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
9352379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
9452379Sache	done
9552379Sache	for l in ${NL_LINKS}; do \
9677981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
9777981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9877981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
9977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10052379Sache	done
10152379Sache	for l in ${US_LINKS}; do \
10277981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10377981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10477981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10577981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10678006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10778006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
10852379Sache	done
10952379Sache	for l in ${GB_LINKS}; do \
11077981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11277981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11478006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11578006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11652379Sache	done
11778006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
11878006Sache	       ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
11978006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
12078006Sache	       ${LOCALEDIR}/en_US.US-ASCII/LC_TIME
12188474Sphantom	ln -fs ../en_US.ISO8859-1/LC_TIME \
12288474Sphantom	       ${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME
12388474Sphantom	ln -fs ../en_US.ISO8859-15/LC_TIME \
12488474Sphantom	       ${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME
12552379Sache
12652379Sache.include <bsd.prog.mk>
127