Makefile revision 55012
150476Speter# $FreeBSD: head/share/timedef/Makefile 55012 1999-12-22 20:52:54Z ache $
29958Sache
352379SacheNOMAN=YES
452379SacheCLEANFILES+= ${LOCALES:S/$/.out/g}
59958Sache
654975SacheLOCALES=	cs_CZ.ISO_8859-2 \
754975Sache		da_DK.ISO_8859-1 \
852379Sache		de_AT.ISO_8859-1 \
952379Sache		de_DE.ISO_8859-1 \
1052379Sache		en_GB.ISO_8859-1 \
1152379Sache		en_US.ISO_8859-1 \
1252379Sache		es_ES.ISO_8859-1 \
1352379Sache		fi_FI.ISO_8859-1 \
1452379Sache		fr_FR.ISO_8859-1 \
1552379Sache		hr_HR.ISO_8859-2 \
1652379Sache		hu_HU.ISO_8859-2 \
1752379Sache		is_IS.ISO_8859-1 \
1852379Sache		ja_JP.EUC	 \
1952379Sache		ja_JP.SJIS 	 \
2052379Sache		it_IT.ISO_8859-1 \
2152379Sache		ko_KR.EUC        \
2255012Sache		la_LN.ISO_8859-1 \
2352379Sache		nl_NL.ISO_8859-1 \
2452379Sache		no_NO.ISO_8859-1 \
2552379Sache		pl_PL.ISO_8859-2 \
2652379Sache		pt_PT.ISO_8859-1 \
2752379Sache		ru_SU.CP866 	 \
2852379Sache		ru_SU.ISO_8859-5 \
2952379Sache		ru_SU.KOI8-R     \
3052379Sache		sl_SI.ISO_8859-2 \
3152379Sache		sv_SE.ISO_8859-1 \
3252390Sache		uk_UA.KOI8-U     \
3352379Sache		zh_CN.EUC	 \
3452379Sache		zh_TW.Big5
3552379Sache
3652379SacheLOCALEDIR=      ${DESTDIR}/usr/share/locale
3752379Sache
3852379Sache8859_15_LINKS = da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \
3955012Sache		it_IT la_LN nl_NL no_NO pt_PT sv_SE
4052379SacheDE_LINKS =      de_CH
4152379SacheFR_LINKS =      fr_BE fr_CA fr_CH
4252379SacheIT_LINKS =      it_CH
4355012SacheLN_LINKS =      la_LN.ASCII la_LN.ISO_8859-2
4452379SacheNL_LINKS =      nl_BE
4552379SacheUS_LINKS =      en_CA
4652379SacheGB_LINKS =      en_AU
4752379SacheJP_LINKS = 	ja_JP.Shift_JIS
4852379Sache
4952379Sache.SUFFIXES: .src .out
5052379Sache
5152379Sache.src.out:
5252379Sache	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
5352379Sache
5452379Sacheall: ${LOCALES:S/$/.out/g}
5552379Sache
5652379Sacheafterinstall:
5752379Sache	for l in ${LOCALES}; do \
5852379Sache		${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
5952379Sache			   ${LOCALEDIR}/$$l/LC_TIME; \
6052379Sache	done
6152379Sache	for l in ${8859_15_LINKS}; do \
6252379Sache		ln -fs ../$$l.ISO_8859-1/LC_TIME \
6352379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
6452379Sache	done
6552379Sache	for l in ${DE_LINKS}; do \
6652379Sache		ln -fs ../de_DE.ISO_8859-1/LC_TIME \
6752379Sache		       ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
6852379Sache	done
6952379Sache	for l in ${DE_LINKS}; do \
7052379Sache		ln -fs ../de_DE.ISO_8859-1/LC_TIME \
7152379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
7252379Sache	done
7352379Sache	for l in ${IT_LINKS}; do \
7452379Sache		ln -fs ../it_IT.ISO_8859-1/LC_TIME \
7552379Sache		       ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
7652379Sache	done
7752379Sache	for l in ${IT_LINKS}; do \
7852379Sache		ln -fs ../it_IT.ISO_8859-1/LC_TIME \
7952379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
8052379Sache	done
8152379Sache	for l in ${FR_LINKS}; do \
8252379Sache		ln -fs ../fr_FR.ISO_8859-1/LC_TIME \
8352379Sache		       ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
8452379Sache	done
8552379Sache	for l in ${FR_LINKS}; do \
8652379Sache		ln -fs ../fr_FR.ISO_8859-1/LC_TIME \
8752379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
8852379Sache	done
8952379Sache	for l in ${LN_LINKS}; do \
9055012Sache		ln -fs ../la_LN.ISO_8859-1/LC_TIME \
9152379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
9252379Sache	done
9352379Sache	for l in ${NL_LINKS}; do \
9452379Sache		ln -fs ../nl_NL.ISO_8859-1/LC_TIME \
9552379Sache		       ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
9652379Sache	done
9752379Sache	for l in ${NL_LINKS}; do \
9852379Sache		ln -fs ../nl_NL.ISO_8859-1/LC_TIME \
9952379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
10052379Sache	done
10152379Sache	for l in ${US_LINKS}; do \
10252379Sache		ln -fs ../en_US.ISO_8859-1/LC_TIME \
10352379Sache		       ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
10452379Sache	done
10552379Sache	for l in ${US_LINKS}; do \
10652379Sache		ln -fs ../en_US.ISO_8859-1/LC_TIME \
10752379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
10852379Sache	done
10952379Sache	for l in ${GB_LINKS}; do \
11052379Sache		ln -fs ../en_GB.ISO_8859-1/LC_TIME \
11152379Sache		       ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
11252379Sache	done
11352379Sache	for l in ${GB_LINKS}; do \
11452379Sache		ln -fs ../en_GB.ISO_8859-1/LC_TIME \
11552379Sache		       ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \
11652379Sache	done
11752379Sache	for l in ${JP_LINKS}; do \
11852379Sache		ln -fs ../ja_JP.SJIS/LC_TIME \
11952379Sache		       ${LOCALEDIR}/$$l/LC_TIME; \
12052379Sache	done
12152379Sache
12252379Sache.include <bsd.prog.mk>
123