From f98c7bd8b6c3251c280ac41bda8a332ce4028aca Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 2 Sep 2004 22:09:33 +0000 Subject: Rewrite this hack -rm -rf ${LOCALEDIR}/*/LC_MESSAGES and move it inside loop. It can damage user-made ${LOCALEDIR}/* locales otherwise. --- share/msgdef/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'share/msgdef') diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile index 65aacc5..e10b271 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 -- cgit v1.1