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