diff options
author | ache <ache@FreeBSD.org> | 1996-11-04 02:52:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-11-04 02:52:33 +0000 |
commit | 881f1465638d683d72a9e960e03dfd5a14436652 (patch) | |
tree | 986e42eeb662421cc8ca3d257b3a8b6ef4fd1579 | |
parent | 0c1283429277d4a96c446a7cd0d6833d626d4c44 (diff) | |
download | FreeBSD-src-881f1465638d683d72a9e960e03dfd5a14436652.zip FreeBSD-src-881f1465638d683d72a9e960e03dfd5a14436652.tar.gz |
Install message catalog links according to standard naming convention
Message catalogs not works without this change
2.2 candidate
-rw-r--r-- | usr.bin/vi/Makefile | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/usr.bin/vi/Makefile b/usr.bin/vi/Makefile index 0b047ca..282df11 100644 --- a/usr.bin/vi/Makefile +++ b/usr.bin/vi/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.4 1996/11/03 19:15:44 peter Exp $ +# $Id: Makefile,v 1.5 1996/11/03 21:32:37 peter Exp $ # # This has most of the glue needed to compile tknvi and the perl hooks, # but not all. @@ -29,6 +29,12 @@ MLINKS+=vi.1 ex.1 vi.1 view.1 MLINKS+=vi.1 nex.1 vi.1 nview.1 vi.1 nvi.1 CATALOGS= dutch english french german ru_SU.KOI8-R spanish swedish +DALINKS= da_DK +ENLINKS= en_AU en_CA en_GB en_US +FRLINKS= fr_BE fr_CA fr_CH fr_FR +DELINKS= de_AT de_CH de_DE +ESLINKS= es_ES +SVLINKS= sv_SE .PATH: ${SRCDIR}/common .PATH: ${SRCDIR}/ex @@ -130,6 +136,25 @@ afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${CATALOGS:S;^;${SRCDIR}/catalog/;} \ ${DESTDIR}/usr/share/vi/catalog + for l in ${DALINKS}; do \ + ln -fs dutch ${DESTDIR}/usr/share/vi/catalog/$$l.ISO_8859-1; \ + done + for l in ${ENLINKS}; do \ + ln -fs english ${DESTDIR}/usr/share/vi/catalog/$$l.ISO_8859-1; \ + done + ln -fs english ${DESTDIR}/usr/share/vi/catalog/us-ascii + for l in ${FRLINKS}; do \ + ln -fs french ${DESTDIR}/usr/share/vi/catalog/$$l.ISO_8859-1; \ + done + for l in ${DELINKS}; do \ + ln -fs german ${DESTDIR}/usr/share/vi/catalog/$$l.ISO_8859-1; \ + done + for l in ${ESLINKS}; do \ + ln -fs spanish ${DESTDIR}/usr/share/vi/catalog/$$l.ISO_8859-1; \ + done + for l in ${SVLINKS}; do \ + ln -fs swedish ${DESTDIR}/usr/share/vi/catalog/$$l.ISO_8859-1; \ + done ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${SRCDIR}/tcl_scripts/*.tcl \ ${DESTDIR}/usr/share/vi/tcl |