mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Move PO files into subdirectories separate from the source code.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.84 2002/08/10 17:59:28 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.85 2002/08/21 20:42:24 petere Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -31,9 +31,6 @@ endif
|
||||
|
||||
all: submake-libpgport postgres $(POSTGRES_IMP)
|
||||
$(MAKE) -C utils/mb/conversion_procs $@
|
||||
ifeq ($(enable_nls), yes)
|
||||
$(MAKE) -C po all
|
||||
endif
|
||||
|
||||
ifneq ($(PORTNAME), win)
|
||||
|
||||
@@ -111,9 +108,7 @@ 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 +122,6 @@ 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
|
||||
$(MAKE) -C utils/mb $@
|
||||
$(MAKE) -C utils/mb/conversion_procs $@
|
||||
|
||||
@@ -153,9 +145,7 @@ endif
|
||||
ifeq ($(MAKE_EXPORTS), true)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
|
||||
endif
|
||||
ifeq ($(enable_nls), yes)
|
||||
$(MAKE) -C po $@
|
||||
endif
|
||||
|
||||
|
||||
##########################################################################
|
||||
|
||||
@@ -173,9 +163,6 @@ 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
|
||||
|
||||
|
||||
##########################################################################
|
||||
@@ -190,9 +177,6 @@ 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/tas.s port/dynloader.c port/pg_sema.c port/pg_shmem.c
|
||||
@@ -205,7 +189,6 @@ maintainer-clean: distclean
|
||||
$(srcdir)/parser/scan.c \
|
||||
$(srcdir)/parser/parse.h \
|
||||
$(srcdir)/utils/misc/guc-file.c
|
||||
$(MAKE) -C po maintainer-clean
|
||||
|
||||
|
||||
##########################################################################
|
||||
|
13
src/backend/nls.mk
Normal file
13
src/backend/nls.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
CATALOG_NAME := postgres
|
||||
AVAIL_LANGUAGES := cs de hu ru zh_CN zh_TW
|
||||
GETTEXT_FILES := + gettext-files
|
||||
GETTEXT_TRIGGERS:= elog:2 postmaster_error yyerror
|
||||
|
||||
gettext-files:
|
||||
find $(srcdir)/ -name '*.c' -print >$@
|
||||
|
||||
my-maintainer-clean:
|
||||
rm -f gettext-files
|
||||
|
||||
.PHONY: my-maintainer-clean
|
||||
maintainer-clean: my-maintainer-clean
|
@@ -1,12 +0,0 @@
|
||||
# $Header: /cvsroot/pgsql/src/backend/po/Attic/Makefile,v 1.2 2001/09/10 22:25:48 petere Exp $
|
||||
|
||||
subdir = src/backend/po
|
||||
top_builddir = ../../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
|
||||
|
||||
gettext-files:
|
||||
find $(srcdir)/.. -name '*.c' -print >$@
|
||||
|
||||
maintainer-clean:
|
||||
rm -f gettext-files
|
@@ -1,4 +0,0 @@
|
||||
CATALOG_NAME := postgres
|
||||
AVAIL_LANGUAGES := cs de hu ru zh_CN zh_TW
|
||||
GETTEXT_FILES := + gettext-files
|
||||
GETTEXT_TRIGGERS:= elog:2 postmaster_error yyerror
|
Reference in New Issue
Block a user