po: Fix placement of $(AM_V_at) in automake.mk.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 6 Sep 2020 19:20:06 +0000 (12:20 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 6 Sep 2020 19:20:06 +0000 (12:20 -0700)
It has to be at the beginning of the line because it is interpreted by
make, not by the shell.

Fixes: commit b703fcd74fda ("Fix build error when building --without-gui")
po/automake.mk

index 5270deda9422d7fae3eda777fe9220470d7823e3..17a67331c7993d762632713bfc657868c7f26009 100644 (file)
@@ -63,7 +63,7 @@ ALL_TRANSLATABLE_FILES = \
 $(POTFILE): $(ALL_TRANSLATABLE_FILES) Makefile
        @$(MKDIR_P) po
        $(AM_V_GEN)$(XGETTEXT) $(XGETTEXT_OPTIONS) $(TRANSLATABLE_FILES) --language=C --keyword=_ --keyword=N_ -o $@,tmp
-       test -z "$(UI_FILES)" || $(AM_V_at)$(XGETTEXT) $(XGETTEXT_OPTIONS) -j $(UI_FILES) --language=Glade -o $@,tmp
+       $(AM_V_at)test -z "$(UI_FILES)" || $(XGETTEXT) $(XGETTEXT_OPTIONS) -j $(UI_FILES) --language=Glade -o $@,tmp
        $(AM_V_at)$(XGETTEXT) $(XGETTEXT_OPTIONS) -j src/ui/gui/org.fsf.pspp.metainfo.xml.in -o $@,tmp
        $(AM_V_at)$(XGETTEXT) $(XGETTEXT_OPTIONS) -j src/ui/gui/org.fsf.pspp.desktop.in -o $@,tmp
        $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: .*/d' $@,tmp > $@