From b703fcd74fda545a8b0691f180aa2424c17488c1 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 6 Sep 2020 11:49:58 +0200 Subject: [PATCH] Fix build error when building --without-gui Closes bug #59069. --- po/automake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/automake.mk b/po/automake.mk index 072efea311..5270deda94 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -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 - $(AM_V_at)$(XGETTEXT) $(XGETTEXT_OPTIONS) -j $(UI_FILES) --language=Glade -o $@,tmp + test -z "$(UI_FILES)" || $(AM_V_at)$(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 > $@ -- 2.30.2