diff options
author | wosch <wosch@FreeBSD.org> | 1997-02-28 19:51:39 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-02-28 19:51:39 +0000 |
commit | 7a822c7bd857834be407b07d8b59df7d7e537b52 (patch) | |
tree | 51c453dda3c7afb490dd998d1f10366d8c97c22f /share/mklocale/Makefile | |
parent | a55ffe56977ba99cc67b3ec026e9d99c6ba268fd (diff) | |
download | FreeBSD-src-7a822c7bd857834be407b07d8b59df7d7e537b52.zip FreeBSD-src-7a822c7bd857834be407b07d8b59df7d7e537b52.tar.gz |
Add lt_LN.ISO_8859-2.src.
Use '.for' loop from make(1), not sh(1) 'for' loops.
Submitted by: Slaven ReziƦ (TomiƦ) <eserte@cs.tu-berlin.de>
Diffstat (limited to 'share/mklocale/Makefile')
-rw-r--r-- | share/mklocale/Makefile | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile index 59f5139..d8ee4f0 100644 --- a/share/mklocale/Makefile +++ b/share/mklocale/Makefile @@ -1,10 +1,16 @@ -# $Id: Makefile,v 1.5 1997/02/22 19:56:11 peter Exp $ +# $Id: Makefile,v 1.6 1997/02/22 22:50:54 ache Exp $ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= ja_JP.EUC ko_KR.EUC lt_LN.ASCII lt_LN.ISO_8859-1 \ - ru_SU.KOI8-R ru_SU.CP866 +LOCALES= ja_JP.EUC \ + ko_KR.EUC \ + lt_LN.ASCII \ + lt_LN.ISO_8859-1 \ + lt_LN.ISO_8859-2 \ + ru_SU.CP866 \ + ru_SU.KOI8-R + LOCALEDIR= ${DESTDIR}/usr/share/locale .if exists(${.OBJDIR}/..) @@ -18,6 +24,8 @@ LATIN1LINKS = \ fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ pt_PT sv_SE +LATIN2LINKS = hr_HR + .SUFFIXES: .src .out .src.out: @@ -26,12 +34,17 @@ LATIN1LINKS = \ all: ${LOCALES:S/$/.out/g} afterinstall: - for locale in ${LOCALES}; do \ - ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$locale.out ${LOCALEDIR}/$$locale/LC_CTYPE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \ - done +.for locales in ${LOCALES} + ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${locales}.out ${LOCALEDIR}/${locales}/LC_CTYPE +.endfor +.for link in ${LATIN1LINKS} + ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_CTYPE +.endfor +.for link in ${LATIN2LINKS} + ln -fs ../lt_LN.ISO_8859-2/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-2/LC_CTYPE +.endfor .include <bsd.prog.mk> |