mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Fix install-nls target from builddir.
This commit is contained in:
parent
53d4a02a45
commit
bbf3c08320
@ -252,9 +252,8 @@ compile-po:
|
|||||||
|
|
||||||
install-nls:
|
install-nls:
|
||||||
@if test "$(NLS)" = "enabled"; then \
|
@if test "$(NLS)" = "enabled"; then \
|
||||||
cd $(top_srcdir); \
|
|
||||||
for pot in $(POTFILES); do \
|
for pot in $(POTFILES); do \
|
||||||
podir=`dirname $$pot`; \
|
podir=`dirname $(top_srcdir)/$$pot`; \
|
||||||
domain=`basename $$pot .pot`; \
|
domain=`basename $$pot .pot`; \
|
||||||
SUDO_LINGUAS=$${LINGUAS-"`echo $$podir/*.mo | $(SED) 's:'$$podir'/\([^ ]*\).mo:\1:g'`"}; \
|
SUDO_LINGUAS=$${LINGUAS-"`echo $$podir/*.mo | $(SED) 's:'$$podir'/\([^ ]*\).mo:\1:g'`"}; \
|
||||||
echo $(ECHO_N) "Installing $$domain message catalogs:$(ECHO_C)"; \
|
echo $(ECHO_N) "Installing $$domain message catalogs:$(ECHO_C)"; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user