]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po: When doing msgmerge --version, use the correct msgmerge program.
authorBruno Haible <bruno@clisp.org>
Tue, 23 Oct 2018 22:21:31 +0000 (00:21 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Oct 2018 22:21:31 +0000 (00:21 +0200)
This reverts the patch from
<https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00000.html>.
Rationale:
<https://lists.gnu.org/archive/html/bug-gettext/2018-10/msg00000.html>.

* gettext-runtime/po/Makefile.in.in ($(POFILES)): Use $(MSGMERGE_UPDATE),
not $(MSGMERGE).

gettext-runtime/po/Makefile.in.in

index acbb3d1ceb20ad4facfbe4befb4fdc53f887b71a..19b0dbbf8ef04edc627e58fca05ac005cb019937 100644 (file)
@@ -235,7 +235,7 @@ $(POFILES): $(POFILESDEPS)
          test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
          echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \
          cd $(srcdir) \
-           && { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+           && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
                   '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].*) \
                     $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
                   0.1[6-7] | 0.1[6-7].*) \