1# $FreeBSD: head/share/numericdef/Makefile 123682 2003-12-20 11:18:43Z ache $
|
1# $FreeBSD: head/share/numericdef/Makefile 125208 2004-01-29 16:28:22Z ache $ |
2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5 6LOCALES= af_ZA.ISO8859-1 \ 7 am_ET.UTF-8 \ 8 be_BY.CP1251 \ 9 bg_BG.CP1251 \ 10 ca_ES.ISO8859-1 \ 11 cs_CZ.ISO8859-2 \ 12 da_DK.ISO8859-1 \ 13 de_DE.ISO8859-1 \ 14 el_GR.ISO8859-7 \ 15 en_US.ISO8859-1 \ 16 es_ES.ISO8859-1 \ 17 et_EE.ISO8859-15 \ 18 fi_FI.ISO8859-1 \ 19 fr_BE.ISO8859-1 \ 20 fr_FR.ISO8859-1 \ 21 hi_IN.ISCII-DEV \ 22 hr_HR.ISO8859-2 \ 23 hu_HU.ISO8859-2 \ 24 hy_AM.ARMSCII-8 \ 25 is_IS.ISO8859-1 \ 26 it_IT.ISO8859-1 \ 27 ja_JP.eucJP \
|
28 kk_KZ.PT154 \ |
29 ko_KR.eucKR \ 30 lt_LT.ISO8859-13 \ 31 nl_NL.ISO8859-1 \ 32 no_NO.ISO8859-1 \ 33 pl_PL.ISO8859-2 \ 34 pt_BR.ISO8859-1 \ 35 pt_PT.ISO8859-1 \ 36 ro_RO.ISO8859-2 \ 37 ru_RU.KOI8-R \ 38 sk_SK.ISO8859-2 \ 39 sl_SI.ISO8859-2 \ 40 sr_YU.ISO8859-2 \ 41 sr_YU.ISO8859-5 \ 42 sv_SE.ISO8859-1 \ 43 tr_TR.ISO8859-9 \ 44 uk_UA.KOI8-U \ 45 zh_CN.eucCN 46 47LOCALEDIR= ${DESTDIR}/usr/share/locale 48 49ASCIILINKS= en_US 50LATIN15LINKS= af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR is_IS \ 51 it_CH it_IT nl_NL no_NO pt_PT sv_SE 52 53US_LINKS= en_CA en_GB 54GB_LINKS= en_AU en_NZ 55FR_LINKS= fr_CA fr_CH 56DE_LINKS= de_AT de_CH 57IT_LINKS= it_CH 58BE_LINKS= nl_BE 59RU_LINKS= ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 60UA_LINKS= uk_UA.ISO8859-5 61BY_LINKS= be_BY.CP1131 be_BY.ISO8859-5 62CN_LINKS= zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK zh_TW.Big5 63 64.SUFFIXES: .src .out 65 66.src.out: 67 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 68 69all: ${LOCALES:S/$/.out/g} 70 71afterinstall: 72.for lang in ${LOCALES} 73 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ 74 ${LOCALEDIR}/${lang}/LC_NUMERIC 75.endfor 76.for link in ${LATIN15LINKS} 77 ln -sf ../${link}.ISO8859-1/LC_NUMERIC \ 78 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 79.endfor 80.for link in ${US_LINKS} 81 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \ 82 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC 83 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \ 84 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 85 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \ 86 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC 87.endfor 88.for link in ${GB_LINKS} 89 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \ 90 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC 91 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \ 92 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 93 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \ 94 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC 95.endfor 96.for link in ${FR_LINKS} 97 ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \ 98 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC 99 ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \ 100 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 101.endfor 102.for link in ${DE_LINKS} 103 ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \ 104 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC 105 ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \ 106 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 107.endfor 108.for link in ${IT_LINKS} 109 ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \ 110 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC 111 ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \ 112 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 113.endfor 114.for link in ${BE_LINKS} 115 ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \ 116 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC 117 ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \ 118 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC 119.endfor 120.for link in ${RU_LINKS} 121 ln -sf ../ru_RU.KOI8-R/LC_NUMERIC \ 122 ${LOCALEDIR}/${link}/LC_NUMERIC 123.endfor 124.for link in ${BY_LINKS} 125 ln -sf ../be_BY.CP1251/LC_NUMERIC \ 126 ${LOCALEDIR}/${link}/LC_NUMERIC 127.endfor 128.for link in ${UA_LINKS} 129 ln -sf ../uk_UA.KOI8-U/LC_NUMERIC \ 130 ${LOCALEDIR}/${link}/LC_NUMERIC 131.endfor 132.for link in ${CN_LINKS} 133 ln -sf ../zh_CN.eucCN/LC_NUMERIC \ 134 ${LOCALEDIR}/${link}/LC_NUMERIC 135.endfor 136.for link in ${ASCIILINKS} 137 ln -sf ../${link}.ISO8859-1/LC_NUMERIC \ 138 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC 139.endfor 140 ln -sf ../ja_JP.eucJP/LC_NUMERIC \ 141 ${LOCALEDIR}/ja_JP.SJIS/LC_NUMERIC 142 ln -sf ../ko_KR.eucKR/LC_NUMERIC \ 143 ${LOCALEDIR}/ko_KR.CP949/LC_NUMERIC 144 145.include <bsd.prog.mk>
|