Makefile revision 87043
150476Speter# $FreeBSD: head/share/timedef/Makefile 87043 2001-11-28 07:23:11Z 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 \
2277981Sache		ja_JP.eucJP     \
2377981Sache		ja_JP.SJIS      \
2477981Sache		it_IT.ISO8859-1 \
2577981Sache		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 \
3277981Sache		ru_RU.CP866     \
3377981Sache		ru_RU.ISO8859-5 \
3477981Sache		ru_RU.KOI8-R    \
3577981Sache		sk_SK.ISO8859-2 \
3677981Sache		sl_SI.ISO8859-2 \
3777981Sache		sv_SE.ISO8859-1 \
3877981Sache		tr_TR.ISO8859-9 \
3977981Sache		uk_UA.KOI8-U    \
4077981Sache		zh_CN.eucCN     \
4152379Sache		zh_TW.Big5
4252379Sache
4352379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
4452379Sache
4552379Sache8859_15_LINKS = da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
4655012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
4752379SacheDE_LINKS =      de_CH
4852379SacheFR_LINKS =      fr_BE fr_CA fr_CH
4952379SacheIT_LINKS =      it_CH
5077981SacheLN_LINKS =      la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
5152379SacheNL_LINKS =      nl_BE
5277985SacheUS_LINKS =      en_CA
5377985SacheGB_LINKS =      en_AU en_NZ
5452379Sache
5552379Sache.SUFFIXES: .src .out
5652379Sache
5752379Sache.src.out:
5852379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5952379Sache
6052379Sacheall: ${LOCALES:S/$/.out/g}
6152379Sache
6252379Sacheafterinstall:
6352379Sache	for l in ${LOCALES}; do \
6452379Sache		${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
6552379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
6652379Sache	done
6752379Sache	for l in ${8859_15_LINKS}; do \
6877981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
6977981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7052379Sache	done
7152379Sache	for l in ${DE_LINKS}; do \
7277981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
7377981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
7477981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
7577981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7652379Sache	done
7752379Sache	for l in ${IT_LINKS}; do \
7877981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
7977981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8077981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8177981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8252379Sache	done
8352379Sache	for l in ${FR_LINKS}; do \
8477981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
8577981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8677981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
8777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8852379Sache	done
8952379Sache	for l in ${LN_LINKS}; do \
9077981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
9152379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
9252379Sache	done
9352379Sache	for l in ${NL_LINKS}; do \
9477981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
9577981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9677981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
9777981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9852379Sache	done
9952379Sache	for l in ${US_LINKS}; do \
10077981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10177981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10277981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10377981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10478006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10578006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
10652379Sache	done
10752379Sache	for l in ${GB_LINKS}; do \
10877981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
10977981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11077981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11177981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11278006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11378006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11452379Sache	done
11578006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
11678006Sache	       ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
11778006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
11878006Sache	       ${LOCALEDIR}/en_US.US-ASCII/LC_TIME
11952379Sache
12052379Sache.include <bsd.prog.mk>
121