Skip to content
Snippets Groups Projects
Commit e72187d7 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Make .pot files depend on the makefiles, so that they are updated when the

file or trigger function lists are changed.
parent 9173d759
No related branches found
No related tags found
No related merge requests found
# $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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment