1# $FreeBSD: head/share/timedef/Makefile 76549 2001-05-13 16:28:38Z ache $
| 1# $FreeBSD: head/share/timedef/Makefile 77981 2001-06-10 14:05:50Z ache $
|
2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5
| 2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5
|
6LOCALES= cs_CZ.ISO_8859-2 \ 7 da_DK.ISO_8859-1 \ 8 de_AT.ISO_8859-1 \ 9 de_DE.ISO_8859-1 \ 10 el_GR.ISO_8859-7 \ 11 en_GB.ISO_8859-1 \ 12 en_US.ISO_8859-1 \ 13 es_ES.ISO_8859-1 \ 14 et_EE.ISO_8859-15 \ 15 fi_FI.ISO_8859-1 \ 16 fr_FR.ISO_8859-1 \ 17 hr_HR.ISO_8859-2 \ 18 hu_HU.ISO_8859-2 \ 19 is_IS.ISO_8859-1 \ 20 ja_JP.EUC \ 21 ja_JP.SJIS \ 22 it_IT.ISO_8859-1 \ 23 ko_KR.EUC \ 24 la_LN.ISO_8859-1 \ 25 lt_LT.ISO_8859-4 \ 26 nl_NL.ISO_8859-1 \ 27 no_NO.ISO_8859-1 \ 28 pl_PL.ISO_8859-2 \ 29 pt_PT.ISO_8859-1 \ 30 ru_RU.CP866 \ 31 ru_RU.ISO_8859-5 \ 32 ru_RU.KOI8-R \ 33 sk_SK.ISO_8859-2 \ 34 sl_SI.ISO_8859-2 \ 35 sv_SE.ISO_8859-1 \ 36 tr_TR.ISO_8859-9 \ 37 uk_UA.KOI8-U \ 38 zh_CN.EUC \
| 6LOCALES= cs_CZ.ISO8859-2 \ 7 da_DK.ISO8859-1 \ 8 de_AT.ISO8859-1 \ 9 de_DE.ISO8859-1 \ 10 el_GR.ISO8859-7 \ 11 en_GB.ISO8859-1 \ 12 en_US.ISO8859-1 \ 13 es_ES.ISO8859-1 \ 14 et_EE.ISO8859-15 \ 15 fi_FI.ISO8859-1 \ 16 fr_FR.ISO8859-1 \ 17 hr_HR.ISO8859-2 \ 18 hu_HU.ISO8859-2 \ 19 is_IS.ISO8859-1 \ 20 ja_JP.eucJP \ 21 ja_JP.SJIS \ 22 it_IT.ISO8859-1 \ 23 ko_KR.eucKR \ 24 la_LN.ISO8859-1 \ 25 lt_LT.ISO8859-4 \ 26 nl_NL.ISO8859-1 \ 27 no_NO.ISO8859-1 \ 28 pl_PL.ISO8859-2 \ 29 pt_PT.ISO8859-1 \ 30 ru_RU.CP866 \ 31 ru_RU.ISO8859-5 \ 32 ru_RU.KOI8-R \ 33 sk_SK.ISO8859-2 \ 34 sl_SI.ISO8859-2 \ 35 sv_SE.ISO8859-1 \ 36 tr_TR.ISO8859-9 \ 37 uk_UA.KOI8-U \ 38 zh_CN.eucCN \
|
39 zh_TW.Big5 40 41LOCALEDIR= ${DESTDIR}/usr/share/locale 42 438859_15_LINKS = da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \ 44 it_IT la_LN nl_NL no_NO pt_PT sv_SE 45DE_LINKS = de_CH 46FR_LINKS = fr_BE fr_CA fr_CH 47IT_LINKS = it_CH
| 39 zh_TW.Big5 40 41LOCALEDIR= ${DESTDIR}/usr/share/locale 42 438859_15_LINKS = da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \ 44 it_IT la_LN nl_NL no_NO pt_PT sv_SE 45DE_LINKS = de_CH 46FR_LINKS = fr_BE fr_CA fr_CH 47IT_LINKS = it_CH
|
48LN_LINKS = la_LN.ASCII la_LN.ISO_8859-2 la_LN.ISO_8859-4
| 48LN_LINKS = la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
|
49NL_LINKS = nl_BE
| 49NL_LINKS = nl_BE
|
50US_LINKS = en_CA
| 50US_LINKS = en_CA en_NZ
|
51GB_LINKS = en_AU
| 51GB_LINKS = en_AU
|
52JP_LINKS = ja_JP.Shift_JIS
| |
53 54.SUFFIXES: .src .out 55 56.src.out: 57 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 58 59all: ${LOCALES:S/$/.out/g} 60 61afterinstall: 62 for l in ${LOCALES}; do \ 63 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \ 64 ${LOCALEDIR}/$$l/LC_TIME; \ 65 done 66 for l in ${8859_15_LINKS}; do \
| 52 53.SUFFIXES: .src .out 54 55.src.out: 56 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 57 58all: ${LOCALES:S/$/.out/g} 59 60afterinstall: 61 for l in ${LOCALES}; do \ 62 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \ 63 ${LOCALEDIR}/$$l/LC_TIME; \ 64 done 65 for l in ${8859_15_LINKS}; do \
|
67 ln -fs ../$$l.ISO_8859-1/LC_TIME \ 68 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 66 ln -fs ../$$l.ISO8859-1/LC_TIME \ 67 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
69 done 70 for l in ${DE_LINKS}; do \
| 68 done 69 for l in ${DE_LINKS}; do \
|
71 ln -fs ../de_DE.ISO_8859-1/LC_TIME \ 72 ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
| 70 ln -fs ../de_DE.ISO8859-1/LC_TIME \ 71 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
|
73 done 74 for l in ${DE_LINKS}; do \
| 72 done 73 for l in ${DE_LINKS}; do \
|
75 ln -fs ../de_DE.ISO_8859-1/LC_TIME \ 76 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 74 ln -fs ../de_DE.ISO8859-1/LC_TIME \ 75 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
77 done 78 for l in ${IT_LINKS}; do \
| 76 done 77 for l in ${IT_LINKS}; do \
|
79 ln -fs ../it_IT.ISO_8859-1/LC_TIME \ 80 ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
| 78 ln -fs ../it_IT.ISO8859-1/LC_TIME \ 79 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
|
81 done 82 for l in ${IT_LINKS}; do \
| 80 done 81 for l in ${IT_LINKS}; do \
|
83 ln -fs ../it_IT.ISO_8859-1/LC_TIME \ 84 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 82 ln -fs ../it_IT.ISO8859-1/LC_TIME \ 83 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
85 done 86 for l in ${FR_LINKS}; do \
| 84 done 85 for l in ${FR_LINKS}; do \
|
87 ln -fs ../fr_FR.ISO_8859-1/LC_TIME \ 88 ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
| 86 ln -fs ../fr_FR.ISO8859-1/LC_TIME \ 87 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
|
89 done 90 for l in ${FR_LINKS}; do \
| 88 done 89 for l in ${FR_LINKS}; do \
|
91 ln -fs ../fr_FR.ISO_8859-1/LC_TIME \ 92 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 90 ln -fs ../fr_FR.ISO8859-1/LC_TIME \ 91 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
93 done 94 for l in ${LN_LINKS}; do \
| 92 done 93 for l in ${LN_LINKS}; do \
|
95 ln -fs ../la_LN.ISO_8859-1/LC_TIME \
| 94 ln -fs ../la_LN.ISO8859-1/LC_TIME \
|
96 ${LOCALEDIR}/$$l/LC_TIME; \ 97 done 98 for l in ${NL_LINKS}; do \
| 95 ${LOCALEDIR}/$$l/LC_TIME; \ 96 done 97 for l in ${NL_LINKS}; do \
|
99 ln -fs ../nl_NL.ISO_8859-1/LC_TIME \ 100 ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
| 98 ln -fs ../nl_NL.ISO8859-1/LC_TIME \ 99 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
|
101 done 102 for l in ${NL_LINKS}; do \
| 100 done 101 for l in ${NL_LINKS}; do \
|
103 ln -fs ../nl_NL.ISO_8859-1/LC_TIME \ 104 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 102 ln -fs ../nl_NL.ISO8859-1/LC_TIME \ 103 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
105 done 106 for l in ${US_LINKS}; do \
| 104 done 105 for l in ${US_LINKS}; do \
|
107 ln -fs ../en_US.ISO_8859-1/LC_TIME \ 108 ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
| 106 ln -fs ../en_US.ISO8859-1/LC_TIME \ 107 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
|
109 done 110 for l in ${US_LINKS}; do \
| 108 done 109 for l in ${US_LINKS}; do \
|
111 ln -fs ../en_US.ISO_8859-1/LC_TIME \ 112 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 110 ln -fs ../en_US.ISO8859-1/LC_TIME \ 111 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
113 done 114 for l in ${GB_LINKS}; do \
| 112 done 113 for l in ${GB_LINKS}; do \
|
115 ln -fs ../en_GB.ISO_8859-1/LC_TIME \ 116 ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
| 114 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 115 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \
|
117 done 118 for l in ${GB_LINKS}; do \
| 116 done 117 for l in ${GB_LINKS}; do \
|
119 ln -fs ../en_GB.ISO_8859-1/LC_TIME \ 120 ${LOCALEDIR}/$$l.ISO_8859-15/LC_TIME; \
| 118 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 119 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
|
121 done
| 120 done
|
122 for l in ${JP_LINKS}; do \ 123 ln -fs ../ja_JP.SJIS/LC_TIME \ 124 ${LOCALEDIR}/$$l/LC_TIME; \ 125 done
| 121 ln -fs ../en_US.ISO8859-1/LC_TIME \ 122 ${LOCALEDIR}/en_US.US-ASCII/LC_TIME
|
126 127.include <bsd.prog.mk>
| 123 124.include <bsd.prog.mk>
|