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
621b91453c
commit
f98c7bd8b6
@ -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