From e4d193f60421c174fadcc766421ee78ee41a995c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 5 Sep 2020 04:31:28 +0200 Subject: [PATCH] po/automake.mk: Fixed typo in variable names. This resulted in po/pspp.pot not getting updated when it should have been. This is a very good demonstration of the reason why carefully desigined languages should insist on a variable being declared before it is used. Also make the file depend on Makefile, so that it gets rebuilt when the PACKAGE VERSION changes. --- po/automake.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/automake.mk b/po/automake.mk index 2b696babf2..3848cd72fb 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -54,13 +54,13 @@ XGETTEXT_OPTIONS = \ --add-comments='TRANSLATORS:' \ --directory=$(top_srcdir) -ALL_TRANSLATEABLE_FILES = \ - $(TRANSLATEABLE_FILES) \ +ALL_TRANSLATABLE_FILES = \ + $(TRANSLATABLE_FILES) \ $(UI_FILES) \ src/ui/gui/org.fsf.pspp.metainfo.xml.in \ src/ui/gui/org.fsf.pspp.desktop.in -$(POTFILE): $(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 -- 2.30.2