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