File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- # $Header: /cvsroot/pgsql/src/nls-global.mk,v 1.2 2001/06/30 21:58:06 petere Exp $
1
+ # $Header: /cvsroot/pgsql/src/nls-global.mk,v 1.3 2001/07/15 11:43:55 petere Exp $
2
2
3
3
# Common rules for Native Language Support (NLS)
4
4
#
@@ -53,7 +53,9 @@ $(srcdir)/$(CATALOG_NAME).pot: $(word 2, $(GETTEXT_FILES))
53
53
$(XGETTEXT ) -D $(srcdir ) -n $(addprefix -k, $(GETTEXT_TRIGGERS ) ) -f $<
54
54
else
55
55
$(srcdir ) /$(CATALOG_NAME ) .pot : $(GETTEXT_FILES )
56
- $(XGETTEXT ) -n $(addprefix -k, $(GETTEXT_TRIGGERS ) ) $^
56
+ # Change to srcdir explicitly, don't rely on $^. That way we get
57
+ # consistent #: file references in the po files.
58
+ $(XGETTEXT) -D $(srcdir) -n $(addprefix -k, $(GETTEXT_TRIGGERS)) $(GETTEXT_FILES)
57
59
endif
58
60
mv messages.po $@
59
61
else # not XGETTEXT
@@ -83,7 +85,7 @@ maintainer-clean-po: clean-po
83
85
84
86
maintainer-check-po : $(PO_FILES )
85
87
for file in $^; do \
86
- $(MSGFMT ) -v -o /dev/null $$ file || exit 1; \
88
+ $(MSGFMT ) -c - v -o /dev/null $$ file || exit 1; \
87
89
done
88
90
89
91
You can’t perform that action at this time.
0 commit comments