From ac0ae7472cd2c2710488a71d2c1be49fb7d16894 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 2 Sep 2004 22:09:33 +0000 Subject: [PATCH] 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(-) 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