Rename pg-config to pg_config to be consistent with other pg commands.
This commit is contained in:
parent
4d76a801c6
commit
78f69862af
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.22 2000/10/05 19:48:16 momjian Exp $
|
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.23 2000/10/10 22:01:50 momjian Exp $
|
||||||
#
|
#
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ APPLICATIONS= createdb.sgml createlang.sgml createuser.sgml \
|
|||||||
pg_upgrade.sgml \
|
pg_upgrade.sgml \
|
||||||
pgaccess-ref.sgml \
|
pgaccess-ref.sgml \
|
||||||
pgadmin-ref.sgml \
|
pgadmin-ref.sgml \
|
||||||
pg-config-ref.sgml \
|
pg_config-ref.sgml \
|
||||||
pg_ctl-ref.sgml \
|
pg_ctl-ref.sgml \
|
||||||
pgtclsh.sgml \
|
pgtclsh.sgml \
|
||||||
pgtksh.sgml \
|
pgtksh.sgml \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.22 2000/10/05 19:48:17 momjian Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.23 2000/10/10 22:01:51 momjian Exp $
|
||||||
Postgres documentation
|
Postgres documentation
|
||||||
Complete list of usable sgml source files in this directory.
|
Complete list of usable sgml source files in this directory.
|
||||||
-->
|
-->
|
||||||
@ -120,7 +120,7 @@ Complete list of usable sgml source files in this directory.
|
|||||||
<!entity ipcclean system "ipcclean.sgml">
|
<!entity ipcclean system "ipcclean.sgml">
|
||||||
<!entity pgAccess system "pgaccess-ref.sgml">
|
<!entity pgAccess system "pgaccess-ref.sgml">
|
||||||
<!entity pgAdmin system "pgadmin-ref.sgml">
|
<!entity pgAdmin system "pgadmin-ref.sgml">
|
||||||
<!entity pgConfig system "pg-config-ref.sgml">
|
<!entity pgConfig system "pg_config-ref.sgml">
|
||||||
<!entity pgCtl system "pg_ctl-ref.sgml">
|
<!entity pgCtl system "pg_ctl-ref.sgml">
|
||||||
<!entity pgDump system "pg_dump.sgml">
|
<!entity pgDump system "pg_dump.sgml">
|
||||||
<!entity pgDumpall system "pg_dumpall.sgml">
|
<!entity pgDumpall system "pg_dumpall.sgml">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1994, Regents of the University of California
|
# Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.32 2000/09/25 22:22:54 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.33 2000/10/10 22:01:52 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ top_builddir = ../..
|
|||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
|
DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
|
||||||
pg_passwd psql scripts pg-config
|
pg_passwd psql scripts pg_config
|
||||||
|
|
||||||
ifdef MULTIBYTE
|
ifdef MULTIBYTE
|
||||||
DIRS += pg_encoding
|
DIRS += pg_encoding
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
# $Header: /cvsroot/pgsql/src/bin/pg-config/Attic/Makefile,v 1.3 2000/09/17 13:02:34 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_config/Makefile,v 1.1 2000/10/10 22:01:55 momjian Exp $
|
||||||
|
|
||||||
subdir = src/bin/pg-config
|
subdir = src/bin/pg_config
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
all: pg-config
|
all: pg_config
|
||||||
|
|
||||||
pg-config: pg-config.sh $(top_builddir)/config.status $(top_builddir)/src/Makefile.global Makefile
|
pg_config: pg_config.sh $(top_builddir)/config.status $(top_builddir)/src/Makefile.global Makefile
|
||||||
configure=`sed -n '7s,^# [^ ]*configure *,,p' $(top_builddir)/config.status` && \
|
configure=`sed -n '7s,^# [^ ]*configure *,,p' $(top_builddir)/config.status` && \
|
||||||
sed -e 's,@bindir@,$(bindir),g' \
|
sed -e 's,@bindir@,$(bindir),g' \
|
||||||
-e 's,@includedir@,$(includedir),g' \
|
-e 's,@includedir@,$(includedir),g' \
|
||||||
@ -17,13 +17,13 @@ pg-config: pg-config.sh $(top_builddir)/config.status $(top_builddir)/src/Makefi
|
|||||||
chmod a+x $@
|
chmod a+x $@
|
||||||
|
|
||||||
install: all installdirs
|
install: all installdirs
|
||||||
$(INSTALL_SCRIPT) pg-config $(DESTDIR)$(bindir)/pg-config
|
$(INSTALL_SCRIPT) pg_config $(DESTDIR)$(bindir)/pg_config
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(bindir)/pg-config
|
rm -f $(DESTDIR)$(bindir)/pg_config
|
||||||
|
|
||||||
clean distclean maintainer-clean:
|
clean distclean maintainer-clean:
|
||||||
rm -f pg-config
|
rm -f pg_config
|
@ -7,7 +7,7 @@
|
|||||||
# Author: Peter Eisentraut <peter_e@gmx.net>
|
# Author: Peter Eisentraut <peter_e@gmx.net>
|
||||||
# Public domain
|
# Public domain
|
||||||
|
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg-config/Attic/pg-config.sh,v 1.1 2000/08/26 13:08:16 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_config/Attic/pg_config.sh,v 1.1 2000/10/10 22:01:55 momjian Exp $
|
||||||
|
|
||||||
me=`basename $0`
|
me=`basename $0`
|
||||||
|
|
||||||
@ -67,4 +67,4 @@ do
|
|||||||
eval "echo $thing"
|
eval "echo $thing"
|
||||||
done
|
done
|
||||||
|
|
||||||
# end of pg-config
|
# end of pg_config
|
Loading…
x
Reference in New Issue
Block a user