Makefile revision 117259
150476Speter# $FreeBSD: head/share/timedef/Makefile 117259 2003-07-05 12:03:16Z 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 \
22117259Sache		hy_AM.ARMSCII-8 \
2377981Sache		is_IS.ISO8859-1 \
2488473Sphantom		ja_JP.eucJP \
2588473Sphantom		ja_JP.SJIS \
2677981Sache		it_IT.ISO8859-1 \
2788473Sphantom		ko_KR.eucKR \
2877981Sache		la_LN.ISO8859-1 \
2977981Sache		lt_LT.ISO8859-4 \
30105965Sache		lt_LT.ISO8859-13 \
3177981Sache		nl_NL.ISO8859-1 \
3277981Sache		no_NO.ISO8859-1 \
3377981Sache		pl_PL.ISO8859-2 \
3493885Sphantom		pt_BR.ISO8859-1 \
3577981Sache		pt_PT.ISO8859-1 \
3689077Sache		ro_RO.ISO8859-2 \
37115922Sache		ru_RU.CP1251 \
3888473Sphantom		ru_RU.CP866 \
3977981Sache		ru_RU.ISO8859-5 \
4088473Sphantom		ru_RU.KOI8-R \
4177981Sache		sk_SK.ISO8859-2 \
4277981Sache		sl_SI.ISO8859-2 \
43105445Sache		sr_YU.ISO8859-2 \
44105445Sache		sr_YU.ISO8859-5 \
4577981Sache		sv_SE.ISO8859-1 \
4677981Sache		tr_TR.ISO8859-9 \
4788314Sache		uk_UA.ISO8859-5 \
4888473Sphantom		uk_UA.KOI8-U \
4988473Sphantom		zh_CN.eucCN \
5052379Sache		zh_TW.Big5
5152379Sache
5252379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
5352379Sache
54108428SacheLATIN15LINKS=   ca_ES da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
5555012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
5688473SphantomDE_LINKS=	de_CH
5788473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
5888473SphantomIT_LINKS=	it_CH
5988473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
6088473SphantomNL_LINKS=	nl_BE
6188473SphantomUS_LINKS=	en_CA
6288473SphantomGB_LINKS=	en_AU en_NZ
6352379Sache
6452379Sache.SUFFIXES: .src .out
6552379Sache
6652379Sache.src.out:
6752379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6852379Sache
6952379Sacheall: ${LOCALES:S/$/.out/g}
7052379Sache
7152379Sacheafterinstall:
7252379Sache	for l in ${LOCALES}; do \
73100872Sru		${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
7452379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
7552379Sache	done
7688473Sphantom	for l in ${LATIN15LINKS}; do \
7777981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
7877981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7952379Sache	done
8052379Sache	for l in ${DE_LINKS}; do \
8177981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8277981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8377981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
8477981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8552379Sache	done
8652379Sache	for l in ${IT_LINKS}; do \
8777981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8877981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8977981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
9077981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9152379Sache	done
9252379Sache	for l in ${FR_LINKS}; do \
9377981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9477981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9577981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
9677981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9752379Sache	done
9852379Sache	for l in ${LN_LINKS}; do \
9977981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
10052379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
10152379Sache	done
10252379Sache	for l in ${NL_LINKS}; do \
10377981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10477981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10577981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
10677981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10752379Sache	done
10852379Sache	for l in ${US_LINKS}; do \
10977981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11077981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11177981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11277981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11378006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
11478006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11552379Sache	done
11652379Sache	for l in ${GB_LINKS}; do \
11777981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11877981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11977981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12077981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
12178006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
12278006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
12352379Sache	done
12478006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
12578006Sache	       ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
12678006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
12778006Sache	       ${LOCALEDIR}/en_US.US-ASCII/LC_TIME
12888474Sphantom	ln -fs ../en_US.ISO8859-1/LC_TIME \
12988474Sphantom	       ${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME
13088474Sphantom	ln -fs ../en_US.ISO8859-15/LC_TIME \
13188474Sphantom	       ${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME
13252379Sache
13352379Sache.include <bsd.prog.mk>
134