Rewrite this hack
-rm -rf ${LOCALEDIR}/*/LC_MESSAGES and move it inside loop. It can damage user-made ${LOCALEDIR}/* locales otherwise.
This commit is contained in:
parent
accbe49470
commit
ac0ae7472c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user