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