From: Peter Eisentraut Date: Thu, 15 Jan 2009 09:01:24 +0000 (+0000) Subject: Make .pot files depend on the makefiles, so that they are updated when the X-Git-Tag: recoveryinfrav9~40 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=aab9833669fdde4d987deac8da14205518e66ad5;p=users%2Fsimon%2Fpostgres.git Make .pot files depend on the makefiles, so that they are updated when the file or trigger function lists are changed. --- diff --git a/src/nls-global.mk b/src/nls-global.mk index 2e00e55e36..549574ca47 100644 --- a/src/nls-global.mk +++ b/src/nls-global.mk @@ -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)