Makefile (88459) | Makefile (88473) |
---|---|
1# $FreeBSD: head/share/msgdef/Makefile 88459 2001-12-24 11:49:49Z phantom $ | 1# $FreeBSD: head/share/msgdef/Makefile 88473 2001-12-25 10:57:03Z phantom $ |
2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5 | 2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5 |
6LOCALES= af_ZA.ISO8859-1 \ | 6LOCALES= af_ZA.ISO8859-1 \ |
7 bg_BG.CP1251 \ 8 cs_CZ.ISO8859-2 \ 9 da_DK.ISO8859-1 \ 10 de_DE.ISO8859-1 \ 11 el_GR.ISO8859-7 \ 12 en_CA.ISO8859-1 \ 13 en_GB.ISO8859-1 \ 14 en_US.ISO8859-1 \ --- 19 unchanged lines hidden (view full) --- 34 tr_TR.ISO8859-9 \ 35 uk_UA.ISO8859-5 \ 36 uk_UA.KOI8-U \ 37 ko_KR.eucKR \ 38 ja_JP.eucJP \ 39 zh_TW.Big5 \ 40 zh_CN.eucCN 41 | 7 bg_BG.CP1251 \ 8 cs_CZ.ISO8859-2 \ 9 da_DK.ISO8859-1 \ 10 de_DE.ISO8859-1 \ 11 el_GR.ISO8859-7 \ 12 en_CA.ISO8859-1 \ 13 en_GB.ISO8859-1 \ 14 en_US.ISO8859-1 \ --- 19 unchanged lines hidden (view full) --- 34 tr_TR.ISO8859-9 \ 35 uk_UA.ISO8859-5 \ 36 uk_UA.KOI8-U \ 37 ko_KR.eucKR \ 38 ja_JP.eucJP \ 39 zh_TW.Big5 \ 40 zh_CN.eucCN 41 |
42ASCIILINKS = en_CA en_GB en_US 438859_15_LINKS = af_ZA da_DK de_DE en_CA en_GB en_US es_ES fi_FI fr_CH \ 44 fr_FR is_IS is_IS it_IT nl_NL no_NO pt_PT sv_SE | 42LOCALEDIR= ${DESTDIR}/usr/share/locale |
45 | 43 |
46ENGLISH= en_GB 47ENGLISHLINKS= en_AU en_NZ 48FRENCH= fr_FR 49FRENCHLINKS= fr_CA 50GERMAN= de_DE 51GERMANLINKS= de_AT 52CZECH= cs_CZ 53CZECHLINKS= sk_SK | 44ASCIILINKS= en_CA en_GB en_US 45LATIN15LINKS= af_ZA da_DK de_DE en_CA en_GB en_US es_ES fi_FI fr_CH \ 46 fr_FR is_IS it_IT nl_NL no_NO pt_PT sv_SE |
54 | 47 |
55LOCALEDIR= ${DESTDIR}/usr/share/locale | 48GB_LINKS= en_AU en_NZ 49FR_LINKS= fr_CA 50DE_LINKS= de_AT 51CZ_LINKS= sk_SK |
56 57.SUFFIXES: .src .out 58 59.src.out: 60 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 61 62all: ${LOCALES:S/$/.out/g} 63 64afterinstall: 65# HACK: remove LC_MESSAGES directories before installing LC_MESSAGES file 66 -rm -rf ${LOCALEDIR}/*/LC_MESSAGES 67.for lang in ${LOCALES} 68 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ 69 ${LOCALEDIR}/${lang}/LC_MESSAGES 70.endfor | 52 53.SUFFIXES: .src .out 54 55.src.out: 56 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 57 58all: ${LOCALES:S/$/.out/g} 59 60afterinstall: 61# HACK: remove LC_MESSAGES directories before installing LC_MESSAGES file 62 -rm -rf ${LOCALEDIR}/*/LC_MESSAGES 63.for lang in ${LOCALES} 64 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ 65 ${LOCALEDIR}/${lang}/LC_MESSAGES 66.endfor |
71.for link in ${8859_15_LINKS} | 67.for link in ${LATIN15LINKS} |
72 ln -sf ../${link}.ISO8859-1/LC_MESSAGES \ 73 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES 74.endfor | 68 ln -sf ../${link}.ISO8859-1/LC_MESSAGES \ 69 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES 70.endfor |
75.for link in ${ENGLISHLINKS} 76 ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \ | 71.for link in ${GB_LINKS} 72 ln -sf ../en_GB.ISO8859-1/LC_MESSAGES \ |
77 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES | 73 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES |
78 ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \ | 74 ln -sf ../en_GB.ISO8859-1/LC_MESSAGES \ |
79 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES | 75 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES |
80 ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \ | 76 ln -sf ../en_GB.ISO8859-1/LC_MESSAGES \ |
81 ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES 82.endfor | 77 ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES 78.endfor |
83.for link in ${FRENCHLINKS} 84 ln -sf ../${FRENCH}.ISO8859-1/LC_MESSAGES \ | 79.for link in ${FR_LINKS} 80 ln -sf ../fr_FR.ISO8859-1/LC_MESSAGES \ |
85 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES | 81 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES |
86 ln -sf ../${FRENCH}.ISO8859-1/LC_MESSAGES \ | 82 ln -sf ../fr_FR.ISO8859-1/LC_MESSAGES \ |
87 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES 88.endfor | 83 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES 84.endfor |
89.for link in ${GERMANLINKS} 90 ln -sf ../${GERMAN}.ISO8859-1/LC_MESSAGES \ | 85.for link in ${DE_LINKS} 86 ln -sf ../de_DE.ISO8859-1/LC_MESSAGES \ |
91 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES | 87 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES |
92 ln -sf ../${GERMAN}.ISO8859-1/LC_MESSAGES \ | 88 ln -sf ../de_DE.ISO8859-1/LC_MESSAGES \ |
93 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES 94.endfor | 89 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES 90.endfor |
95.for link in ${CZECHLINKS} 96 ln -sf ../${CZECH}.ISO8859-2/LC_MESSAGES \ | 91.for link in ${CZ_LINKS} 92 ln -sf ../cs_CZ.ISO8859-2/LC_MESSAGES \ |
97 ${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES 98.endfor 99.for link in ${ASCIILINKS} 100 ln -sf ../${link}.ISO8859-1/LC_MESSAGES \ 101 ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES 102.endfor 103 104.include <bsd.prog.mk> | 93 ${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES 94.endfor 95.for link in ${ASCIILINKS} 96 ln -sf ../${link}.ISO8859-1/LC_MESSAGES \ 97 ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES 98.endfor 99 100.include <bsd.prog.mk> |