aboutsummaryrefslogtreecommitdiff
path: root/share/msgdef
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-09-02 22:09:33 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-09-02 22:09:33 +0000
commitac0ae7472cd2c2710488a71d2c1be49fb7d16894 (patch)
treeeb9c318b1397edc23b57dd30522befae87f15878 /share/msgdef
parentaccbe49470ac49c36f7dabdf8bcfcced3a47b9a8 (diff)
downloadsrc-ac0ae7472cd2c2710488a71d2c1be49fb7d16894.tar.gz
src-ac0ae7472cd2c2710488a71d2c1be49fb7d16894.zip
Rewrite this hack
-rm -rf ${LOCALEDIR}/*/LC_MESSAGES and move it inside loop. It can damage user-made ${LOCALEDIR}/* locales otherwise.
Notes
Notes: svn path=/head/; revision=134663
Diffstat (limited to 'share/msgdef')
-rw-r--r--share/msgdef/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
index 65aacc5b462c..e10b2717e198 100644
--- a/share/msgdef/Makefile
+++ b/share/msgdef/Makefile
@@ -99,9 +99,8 @@ PT_LINKS= pt_BR
all: ${LOCALES:S/$/.out/g}
afterinstall:
-# HACK: remove LC_MESSAGES directories before installing LC_MESSAGES file
- -rm -rf ${LOCALEDIR}/*/LC_MESSAGES
.for lang in ${LOCALES}
+ -rm -rf ${LOCALEDIR}/${lang}/LC_MESSAGES
${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
${LOCALEDIR}/${lang}/LC_MESSAGES
.endfor