From: Todd C. Miller Date: Tue, 28 Oct 2014 20:45:39 +0000 (-0600) Subject: Fix install-nls target from builddir. X-Git-Tag: SUDO_1_8_12^2~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbf3c08320829a5d3079324a517a453d0b34a30f;p=sudo Fix install-nls target from builddir. --- diff --git a/Makefile.in b/Makefile.in index 37be7ebce..04dc51f45 100644 --- a/Makefile.in +++ b/Makefile.in @@ -252,9 +252,8 @@ compile-po: install-nls: @if test "$(NLS)" = "enabled"; then \ - cd $(top_srcdir); \ for pot in $(POTFILES); do \ - podir=`dirname $$pot`; \ + podir=`dirname $(top_srcdir)/$$pot`; \ domain=`basename $$pot .pot`; \ SUDO_LINGUAS=$${LINGUAS-"`echo $$podir/*.mo | $(SED) 's:'$$podir'/\([^ ]*\).mo:\1:g'`"}; \ echo $(ECHO_N) "Installing $$domain message catalogs:$(ECHO_C)"; \