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