Skip to content

Commit b1c5b34

Browse files
committed
Add missing dependency and fix thinko.
1 parent 34d1cf8 commit b1c5b34

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/nls-global.mk

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/src/nls-global.mk,v 1.1 2001/06/02 18:25:17 petere Exp $
1+
# $Header: /cvsroot/pgsql/src/nls-global.mk,v 1.2 2001/06/30 21:58:06 petere Exp $
22

33
# Common rules for Native Language Support (NLS)
44
#
@@ -35,7 +35,9 @@ endif
3535
PO_FILES = $(addsuffix .po, $(LANGUAGES))
3636
MO_FILES = $(addsuffix .mo, $(LANGUAGES))
3737

38-
XGETTEXT += --foreign-user
38+
ifdef XGETTEXT
39+
XGETTEXT += --foreign-user -ctranslator
40+
endif
3941

4042

4143
all-po: $(MO_FILES)
@@ -48,10 +50,10 @@ distprep: $(srcdir)/$(CATALOG_NAME).pot
4850
ifdef XGETTEXT
4951
ifeq ($(word 1,$(GETTEXT_FILES)),+)
5052
$(srcdir)/$(CATALOG_NAME).pot: $(word 2, $(GETTEXT_FILES))
51-
$(XGETTEXT) -D $(srcdir) -ctranslator -n $(addprefix -k, $(GETTEXT_TRIGGERS)) -f $<
53+
$(XGETTEXT) -D $(srcdir) -n $(addprefix -k, $(GETTEXT_TRIGGERS)) -f $<
5254
else
5355
$(srcdir)/$(CATALOG_NAME).pot: $(GETTEXT_FILES)
54-
$(XGETTEXT) -ctranslator -n $(addprefix -k, $(GETTEXT_TRIGGERS)) $^
56+
$(XGETTEXT) -n $(addprefix -k, $(GETTEXT_TRIGGERS)) $^
5557
endif
5658
mv messages.po $@
5759
else # not XGETTEXT
@@ -75,7 +77,7 @@ clean-po:
7577
rm -f $(MO_FILES)
7678
@rm -f $(addsuffix .po.old, $(AVAIL_LANGUAGES))
7779

78-
maintainer-clean-po:
80+
maintainer-clean-po: clean-po
7981
rm -f $(srcdir)/$(CATALOG_NAME).pot
8082

8183

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy