Makefile revision 88473
150476Speter# $FreeBSD: head/share/timedef/Makefile 88473 2001-12-25 10:57:03Z phantom $
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 \
3288473Sphantom		ru_RU.CP866 \
3377981Sache		ru_RU.ISO8859-5 \
3488473Sphantom		ru_RU.KOI8-R \
3577981Sache		sk_SK.ISO8859-2 \
3677981Sache		sl_SI.ISO8859-2 \
3777981Sache		sv_SE.ISO8859-1 \
3877981Sache		tr_TR.ISO8859-9 \
3988314Sache		uk_UA.ISO8859-5 \
4088473Sphantom		uk_UA.KOI8-U \
4188473Sphantom		zh_CN.eucCN \
4252379Sache		zh_TW.Big5
4352379Sache
4452379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
4552379Sache
4688473SphantomLATIN15LINKS=	da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
4755012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
4888473SphantomDE_LINKS=	de_CH
4988473SphantomFR_LINKS=	fr_BE fr_CA fr_CH
5088473SphantomIT_LINKS=	it_CH
5188473SphantomLN_LINKS=	la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
5288473SphantomNL_LINKS=	nl_BE
5388473SphantomUS_LINKS=	en_CA
5488473SphantomGB_LINKS=	en_AU en_NZ
5552379Sache
5652379Sache.SUFFIXES: .src .out
5752379Sache
5852379Sache.src.out:
5952379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6052379Sache
6152379Sacheall: ${LOCALES:S/$/.out/g}
6252379Sache
6352379Sacheafterinstall:
6452379Sache	for l in ${LOCALES}; do \
6552379Sache		${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
6652379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
6752379Sache	done
6888473Sphantom	for l in ${LATIN15LINKS}; do \
6977981Sache		ln -fs ../$$l.ISO8859-1/LC_TIME \
7077981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7152379Sache	done
7252379Sache	for l in ${DE_LINKS}; do \
7377981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
7477981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
7577981Sache		ln -fs ../de_DE.ISO8859-1/LC_TIME \
7677981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
7752379Sache	done
7852379Sache	for l in ${IT_LINKS}; do \
7977981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8077981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8177981Sache		ln -fs ../it_IT.ISO8859-1/LC_TIME \
8277981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8352379Sache	done
8452379Sache	for l in ${FR_LINKS}; do \
8577981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
8677981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
8777981Sache		ln -fs ../fr_FR.ISO8859-1/LC_TIME \
8877981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
8952379Sache	done
9052379Sache	for l in ${LN_LINKS}; do \
9177981Sache		ln -fs ../la_LN.ISO8859-1/LC_TIME \
9252379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
9352379Sache	done
9452379Sache	for l in ${NL_LINKS}; do \
9577981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
9677981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
9777981Sache		ln -fs ../nl_NL.ISO8859-1/LC_TIME \
9877981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
9952379Sache	done
10052379Sache	for l in ${US_LINKS}; do \
10177981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10277981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
10377981Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10477981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
10578006Sache		ln -fs ../en_US.ISO8859-1/LC_TIME \
10678006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
10752379Sache	done
10852379Sache	for l in ${GB_LINKS}; do \
10977981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11077981Sache		       ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
11177981Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11277981Sache		       ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
11378006Sache		ln -fs ../en_GB.ISO8859-1/LC_TIME \
11478006Sache		       ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \
11552379Sache	done
11678006Sache	ln -fs ../en_GB.ISO8859-1/LC_TIME \
11778006Sache	       ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME
11878006Sache	ln -fs ../en_US.ISO8859-1/LC_TIME \
11978006Sache	       ${LOCALEDIR}/en_US.US-ASCII/LC_TIME
12052379Sache
12152379Sache.include <bsd.prog.mk>
122