aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-01-15 09:01:24 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-01-15 09:01:24 +0000
commite72187d789cfc5be62b7e5ba64cbe00b712bd640 (patch)
treeb509aa70fb2153af4b68a8d316867cf56f886696 /src
parent9173d759d209b5fb9cf834307bc549726226cb30 (diff)
downloadpostgresql-e72187d789cfc5be62b7e5ba64cbe00b712bd640.tar.gz
postgresql-e72187d789cfc5be62b7e5ba64cbe00b712bd640.zip
Make .pot files depend on the makefiles, so that they are updated when the
file or trigger function lists are changed.
Diffstat (limited to 'src')
-rw-r--r--src/nls-global.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nls-global.mk b/src/nls-global.mk
index 872e75b6e0e..d4c47b0562d 100644
--- a/src/nls-global.mk
+++ b/src/nls-global.mk
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/nls-global.mk,v 1.18 2009/01/09 12:37:37 petere Exp $
+# $PostgreSQL: pgsql/src/nls-global.mk,v 1.19 2009/01/15 09:01:24 petere Exp $
# Common rules for Native Language Support (NLS)
#
@@ -47,10 +47,10 @@ all-po: $(MO_FILES)
ifdef XGETTEXT
ifeq ($(word 1,$(GETTEXT_FILES)),+)
-po/$(CATALOG_NAME).pot: $(word 2, $(GETTEXT_FILES))
+po/$(CATALOG_NAME).pot: $(word 2, $(GETTEXT_FILES)) $(MAKEFILE_LIST)
$(XGETTEXT) -D $(srcdir) -n $(addprefix -k, $(GETTEXT_TRIGGERS)) -f $<
else
-po/$(CATALOG_NAME).pot: $(GETTEXT_FILES)
+po/$(CATALOG_NAME).pot: $(GETTEXT_FILES) $(MAKEFILE_LIST)
# Change to srcdir explicitly, don't rely on $^. That way we get
# consistent #: file references in the po files.
$(XGETTEXT) -D $(srcdir) -n $(addprefix -k, $(GETTEXT_TRIGGERS)) $(GETTEXT_FILES)