From: John Darrington <john@darrington.wattle.id.au>
Date: Mon, 31 Aug 2009 18:15:26 +0000 (+0200)
Subject: Add the all_q_sources to the dependencies of po/pspp.pot
X-Git-Tag: sav-api~248^2~75
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebbfbe937906e4b4ca577478965cf06d1a812715;p=pspp

Add the all_q_sources to the dependencies of po/pspp.pot
---

diff --git a/po/automake.mk b/po/automake.mk
index c751edd4ce..d1d26aee6c 100644
--- a/po/automake.mk
+++ b/po/automake.mk
@@ -8,9 +8,11 @@ POFILES=po/en_GB.po po/nl.po
 
 POTFILE=po/$(DOMAIN).pot
 
-$(POTFILE): $(DIST_SOURCES)
+TRANSLATABLE_FILES = $(DIST_SOURCES) $(all_q_sources)
+
+$(POTFILE): $(TRANSLATABLE_FILES)
 	@$(MKDIR_P) po
-	$(XGETTEXT) --directory=$(top_srcdir) $(DIST_SOURCES) \
+	$(XGETTEXT) --directory=$(top_srcdir) $(TRANSLATABLE_FILES) \
 	$(XGETTEXT_OPTIONS) \
 	--copyright-holder="$(COPYRIGHT_HOLDER)" \
 	--package-name=$(PACKAGE) \