Skip to content

Commit 41c92ac

Browse files
committed
Move PO files into subdirectories separate from the source code.
1 parent b7a5917 commit 41c92ac

File tree

25 files changed

+45
-64
lines changed

25 files changed

+45
-64
lines changed

src/backend/Makefile

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.84 2002/08/10 17:59:28 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.85 2002/08/21 20:42:24 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -31,9 +31,6 @@ endif
3131

3232
all: submake-libpgport postgres $(POSTGRES_IMP)
3333
$(MAKE) -C utils/mb/conversion_procs $@
34-
ifeq ($(enable_nls), yes)
35-
$(MAKE) -C po all
36-
endif
3734

3835
ifneq ($(PORTNAME), win)
3936

@@ -111,9 +108,7 @@ distprep:
111108
$(MAKE) -C parser gram.c parse.h scan.c
112109
$(MAKE) -C bootstrap bootparse.c bootstrap_tokens.h bootscanner.c
113110
$(MAKE) -C utils/misc guc-file.c
114-
ifeq ($(enable_nls), yes)
115-
$(MAKE) -C po $@
116-
endif
111+
117112

118113
##########################################################################
119114

@@ -127,9 +122,6 @@ endif
127122
$(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample
128123
$(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample
129124
$(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample
130-
ifeq ($(enable_nls), yes)
131-
$(MAKE) -C po $@
132-
endif
133125
$(MAKE) -C utils/mb $@
134126
$(MAKE) -C utils/mb/conversion_procs $@
135127

@@ -153,9 +145,7 @@ endif
153145
ifeq ($(MAKE_EXPORTS), true)
154146
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
155147
endif
156-
ifeq ($(enable_nls), yes)
157-
$(MAKE) -C po $@
158-
endif
148+
159149

160150
##########################################################################
161151

@@ -173,9 +163,6 @@ endif
173163
rm -f $(DESTDIR)$(datadir)/pg_hba.conf.sample \
174164
$(DESTDIR)$(datadir)/pg_ident.conf.sample \
175165
$(DESTDIR)$(datadir)/postgresql.conf.sample
176-
ifeq ($(enable_nls), yes)
177-
$(MAKE) -C po $@
178-
endif
179166

180167

181168
##########################################################################
@@ -190,9 +177,6 @@ ifeq ($(MAKE_DLL), true)
190177
endif
191178
endif
192179
for i in $(DIRS); do $(MAKE) -C $$i clean || exit; done
193-
ifeq ($(enable_nls), yes)
194-
$(MAKE) -C po $@
195-
endif
196180

197181
distclean: clean
198182
rm -f port/tas.s port/dynloader.c port/pg_sema.c port/pg_shmem.c
@@ -205,7 +189,6 @@ maintainer-clean: distclean
205189
$(srcdir)/parser/scan.c \
206190
$(srcdir)/parser/parse.h \
207191
$(srcdir)/utils/misc/guc-file.c
208-
$(MAKE) -C po maintainer-clean
209192

210193

211194
##########################################################################

src/backend/nls.mk

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
CATALOG_NAME := postgres
2+
AVAIL_LANGUAGES := cs de hu ru zh_CN zh_TW
3+
GETTEXT_FILES := + gettext-files
4+
GETTEXT_TRIGGERS:= elog:2 postmaster_error yyerror
5+
6+
gettext-files:
7+
find $(srcdir)/ -name '*.c' -print >$@
8+
9+
my-maintainer-clean:
10+
rm -f gettext-files
11+
12+
.PHONY: my-maintainer-clean
13+
maintainer-clean: my-maintainer-clean

src/backend/po/Makefile

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/backend/po/nls.mk

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.

src/bin/pg_dump/de.po renamed to src/bin/pg_dump/po/de.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# German message translation file for pg_dump and friends
22
# Peter Eisentraut <peter_e@gmx.net>, 2001.
33
#
4-
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/de.po,v 1.6 2002/01/29 20:39:49 petere Exp $
4+
# $Header: /cvsroot/pgsql/src/bin/pg_dump/po/de.po,v 1.1 2002/08/21 20:42:25 petere Exp $
55
#
66
# Use these quotes: »%s«
77
#
File renamed without changes.

src/bin/pg_dump/sv.po renamed to src/bin/pg_dump/po/sv.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Swedish message translation file for pg_dump
22
# Peter Eisentraut <peter_e@gmx.net>, 2001.
33
#
4-
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/sv.po,v 1.1 2001/12/13 22:06:33 petere Exp $
4+
# $Header: /cvsroot/pgsql/src/bin/pg_dump/po/sv.po,v 1.1 2002/08/21 20:42:26 petere Exp $
55
#
66
# Use these quotes: "%s"
77
#

src/bin/pg_dump/zh_CN.po renamed to src/bin/pg_dump/po/zh_CN.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# simplified Chinese translation file for pg_dump and friends
22
# Weiping He <laser@zhengmai.com.cn>, 2001.
3-
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/zh_CN.po,v 1.5 2001/12/10 18:45:57 petere Exp $
3+
# $Header: /cvsroot/pgsql/src/bin/pg_dump/po/zh_CN.po,v 1.1 2002/08/21 20:42:26 petere Exp $
44
#
55
msgid ""
66
msgstr ""
File renamed without changes.

0 commit comments

Comments
 (0)