diff options
author | ache <ache@FreeBSD.org> | 1995-01-30 15:29:47 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-01-30 15:29:47 +0000 |
commit | d4a8c7af3add3662b33cd82ebd2051f7d3bf7022 (patch) | |
tree | e76490ca1d0c81cd6021074168cacc9bf2cdc70c /usr.bin | |
parent | 6b3aa529f25b0b5ae50c41c0a6a45dec9666b509 (diff) | |
download | FreeBSD-src-d4a8c7af3add3662b33cd82ebd2051f7d3bf7022.zip FreeBSD-src-d4a8c7af3add3662b33cd82ebd2051f7d3bf7022.tar.gz |
Remove creating dirs & symlinks, it is done by mtree now
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mklocale/Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile index 4857e30..224a715 100644 --- a/usr.bin/mklocale/Makefile +++ b/usr.bin/mklocale/Makefile @@ -5,24 +5,14 @@ SRCS= yacc.c lex.c CFLAGS+=-I. CLEANFILES+=y.tab.h yacc.c lex.c MAN1= mklocale.1 -ISO88591= lt_LN.ISO8859-1 -ISO88591NAMES= da_DK de_DE de_AT de_CH en_GB en_AU en_CA en_US \ - es_ES fi_FI fr_FR fr_BE fr_CA fr_CH is_IS it_IT it_CH \ - nl_NL nl_BE no_NO pt_PT sv_SE -LOCALES= ja_JP.EUC ru_SU.KOI8-R ${ISO88591} +LOCALES= ja_JP.EUC ru_SU.KOI8-R lt_LN.ISO8859-1 LOCALEDIR= ${DESTDIR}/usr/share/locale afterinstall: - -if [ -d ${LOCALEDIR} ]; then true; else mkdir -p ${LOCALEDIR}; fi for locale in ${LOCALES}; do \ - mkdir -p ${LOCALEDIR}/$$locale || true; \ mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/data/$$locale; \ + chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$locale; \ chmod ${BINMODE} ${LOCALEDIR}/$$locale; \ done - cd ${LOCALEDIR}; for locale in ${ISO88591NAMES}; do \ - rm -f $$locale.ISO8859-1; \ - ln -s ${ISO88591} $$locale.ISO8859-1; \ - done - chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR} .include <bsd.prog.mk> |