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