diff options
| author | Peter Eisentraut | 2001-06-02 18:25:18 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2001-06-02 18:25:18 +0000 |
| commit | e54203646176167271dc50a7b8f7bbe0d3ea6e75 (patch) | |
| tree | 06e6275b18f1d14afeda777f12f31a75d3c8b527 /src/backend/Makefile | |
| parent | 58193c5f37838b49043925437e3c99711ca66407 (diff) | |
Native Language Support (NLS)
Use --enable-nls to turn it on; see installation instructions for details.
See developer's guide how to make use of it in programs and how to add
translations.
psql sources have been almost fully prepared and an incomplete German
translation has been provided. In the backend, only elog() calls are
currently translatable, and the provided German translation file is more
of a placeholder.
Diffstat (limited to 'src/backend/Makefile')
| -rw-r--r-- | src/backend/Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile index 4db21fe665c..48773c4994e 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.72 2001/05/24 15:53:32 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.73 2001/06/02 18:25:17 petere Exp $ # #------------------------------------------------------------------------- @@ -34,6 +34,9 @@ endif ########################################################################## all: postgres $(POSTGRES_IMP) +ifeq ($(enable_nls), yes) + $(MAKE) -C po all +endif ifneq ($(PORTNAME), win) @@ -113,7 +116,9 @@ distprep: $(MAKE) -C parser gram.c parse.h scan.c $(MAKE) -C bootstrap bootparse.c bootstrap_tokens.h bootscanner.c $(MAKE) -C utils/misc guc-file.c - +ifeq ($(enable_nls), yes) + $(MAKE) -C po $@ +endif ########################################################################## @@ -127,9 +132,15 @@ endif $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample +ifeq ($(enable_nls), yes) + $(MAKE) -C po $@ +endif installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(datadir) +ifeq ($(enable_nls), yes) + $(MAKE) -C po $@ +endif install-bin: postgres $(POSTGRES_IMP) installdirs $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) @@ -157,6 +168,9 @@ endif rm -f $(DESTDIR)$(datadir)/pg_hba.conf.sample \ $(DESTDIR)$(datadir)/pg_ident.conf.sample \ $(DESTDIR)$(datadir)/postgresql.conf.sample +ifeq ($(enable_nls), yes) + $(MAKE) -C po $@ +endif ########################################################################## @@ -171,6 +185,9 @@ ifeq ($(MAKE_DLL), true) endif endif for i in $(DIRS); do $(MAKE) -C $$i clean || exit; done +ifeq ($(enable_nls), yes) + $(MAKE) -C po $@ +endif distclean: clean rm -f port/Makefile port/tas.s port/dynloader.c @@ -183,6 +200,7 @@ maintainer-clean: distclean $(srcdir)/parser/scan.c \ $(srcdir)/parser/parse.h \ $(srcdir)/utils/misc/guc-file.c + $(MAKE) -C po maintainer-clean ########################################################################## |
