Add the all_q_sources to the dependencies of po/pspp.pot
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 31 Aug 2009 18:15:26 +0000 (20:15 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 31 Aug 2009 18:15:26 +0000 (20:15 +0200)
po/automake.mk

index c751edd4cec0906720dfd7edd272eb3289db7cc0..d1d26aee6cef229e38d32f7a4e6bd05edc1b69e5 100644 (file)
@@ -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) \