|
|
e167e9 |
diff --git a/src/bin/pg_config/Makefile b/src/bin/pg_config/Makefile
|
|
|
e167e9 |
index c410087..e546b7b 100644
|
|
|
e167e9 |
--- a/src/bin/pg_config/Makefile
|
|
|
e167e9 |
+++ b/src/bin/pg_config/Makefile
|
|
|
e167e9 |
@@ -11,28 +11,30 @@
|
|
|
e167e9 |
PGFILEDESC = "pg_config - report configuration information"
|
|
|
e167e9 |
PGAPPICON=win32
|
|
|
e167e9 |
|
|
|
e167e9 |
+PG_CONFIG = pg_server_config$(X)
|
|
|
e167e9 |
+
|
|
|
e167e9 |
subdir = src/bin/pg_config
|
|
|
e167e9 |
top_builddir = ../../..
|
|
|
e167e9 |
include $(top_builddir)/src/Makefile.global
|
|
|
e167e9 |
|
|
|
e167e9 |
OBJS= pg_config.o $(WIN32RES)
|
|
|
e167e9 |
|
|
|
e167e9 |
-all: pg_config
|
|
|
e167e9 |
+all: $(PG_CONFIG)
|
|
|
e167e9 |
|
|
|
e167e9 |
-pg_config: $(OBJS) | submake-libpgport
|
|
|
e167e9 |
- $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
|
|
|
e167e9 |
+$(PG_CONFIG): $(OBJS) | submake-libpgport
|
|
|
e167e9 |
+ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
|
|
|
e167e9 |
|
|
|
e167e9 |
install: all installdirs
|
|
|
e167e9 |
- $(INSTALL_SCRIPT) pg_config$(X) '$(DESTDIR)$(bindir)/pg_config$(X)'
|
|
|
e167e9 |
+ $(INSTALL_SCRIPT) $(PG_CONFIG) '$(DESTDIR)$(bindir)/$(PG_CONFIG)'
|
|
|
e167e9 |
|
|
|
e167e9 |
installdirs:
|
|
|
e167e9 |
$(MKDIR_P) '$(DESTDIR)$(bindir)'
|
|
|
e167e9 |
|
|
|
e167e9 |
uninstall:
|
|
|
e167e9 |
- rm -f '$(DESTDIR)$(bindir)/pg_config$(X)'
|
|
|
e167e9 |
+ rm -f '$(DESTDIR)$(bindir)/$(PG_CONFIG)'
|
|
|
e167e9 |
|
|
|
e167e9 |
clean distclean maintainer-clean:
|
|
|
e167e9 |
- rm -f pg_config$(X) $(OBJS)
|
|
|
e167e9 |
+ rm -f $(PG_CONFIG) $(OBJS)
|
|
|
e167e9 |
rm -rf tmp_check
|
|
|
e167e9 |
|
|
|
e167e9 |
check:
|
|
|
e167e9 |
diff --git a/src/bin/pg_config/nls.mk b/src/bin/pg_config/nls.mk
|
|
|
e167e9 |
index 1d41f90ee0..0f34f371cc 100644
|
|
|
e167e9 |
--- a/src/bin/pg_config/nls.mk
|
|
|
e167e9 |
+++ b/src/bin/pg_config/nls.mk
|
|
|
e167e9 |
@@ -1,4 +1,4 @@
|
|
|
e167e9 |
# src/bin/pg_config/nls.mk
|
|
|
e167e9 |
-CATALOG_NAME = pg_config
|
|
|
e167e9 |
+CATALOG_NAME = pg_server_config
|
|
|
e167e9 |
AVAIL_LANGUAGES = cs de es fr he it ja ko nb pl pt_BR ro ru sv ta tr zh_CN zh_TW
|
|
|
e167e9 |
GETTEXT_FILES = pg_config.c ../../common/config_info.c ../../common/exec.c
|