git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93a6be6)
Do not msgmerge against /dev/null; merge against the pot file itself
2009年1月20日 09:58:50 +0000 (09:58 +0000)
2009年1月20日 09:58:50 +0000 (09:58 +0000)
instead.


diff --git a/src/nls-global.mk b/src/nls-global.mk
index d4c47b0562d2459655f119620c530b8bc91d5495..da131d067c8718bb65ec4293ab455b2390ad97c5 100644 (file)
--- a/src/nls-global.mk
+++ b/src/nls-global.mk
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/nls-global.mk,v 1.19 2009年01月15日 09:01:24 petere Exp $
+# $PostgreSQL: pgsql/src/nls-global.mk,v 1.20 2009年01月20日 09:58:50 petere Exp $
# Common rules for Native Language Support (NLS)
#
@@ -113,10 +113,12 @@ update-po: $(ALL_LANGUAGES:%=po/%.po.new)
$(AVAIL_LANGUAGES:%=po/%.po.new): po/%.po.new: po/%.po po/$(CATALOG_NAME).pot $(all_compendia)
$(MSGMERGE) $(word 1, $^) $(word 2,$^) -o $@ $(addprefix --compendium=,$(filter %/$*.po,$(wordlist 3,$(words $^),$^)))
-# For languages not yet available, merge against empty file, to pick
-# up translations from the compendia.
+# For languages not yet available, merge against oneself, to pick
+# up translations from the compendia. (Merging against /dev/null
+# doesn't work so well; it inserts the headers from the first-named
+# compendium.)
po/%.po.new: po/$(CATALOG_NAME).pot $(all_compendia)
- $(MSGMERGE) /dev/null $(word 1,$^) -o $@ $(addprefix --compendium=,$(filter %/$*.po,$(wordlist 2,$(words $^),$^)))
+ $(MSGMERGE) $(word 1,$^) $(word 1,$^) -o $@ $(addprefix --compendium=,$(filter %/$*.po,$(wordlist 2,$(words $^),$^)))
all: all-po
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /