Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mk/postgres.shell.mk')
-rw-r--r--src/mk/postgres.shell.mk21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/mk/postgres.shell.mk b/src/mk/postgres.shell.mk
index 398c3fd8138..65eeff2916c 100644
--- a/src/mk/postgres.shell.mk
+++ b/src/mk/postgres.shell.mk
@@ -11,28 +11,33 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.shell.mk,v 1.1.1.1 1996/07/09 06:22:19 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.shell.mk,v 1.2 1996/09/23 08:24:13 scrappy Exp $
#
# NOTES
# the shell script you write might include the following strings which
# will be turned into the values listed below:
#
# _fUnKy_BINDIR_sTuFf_ - location of installed binaries
-# _fUnKy_DATADIR_sTuFf_ - location of the data directory
+# _fUnKy_LIBDIR_sTuFf_ - location of installed library stuff
+# _fUnKy_DATADIR_sTuFf_ - location of the default data directory
# _fUnKy_POSTGRESDIR_sTuFf_ - location of the postgres "home" directory
+# _fUnKy_NAMEDATALEN_sTuFf_ - length of a datum of type "name"
+# _fUnKy_OIDNAMELEN_sTuFf_ - ?
# _fUnKy_IPCCLEANPATH_sTuFf_ - location of the ipcs and ipcrm programs
# _fUnKy_DASH_N_sTuFf_ - -n flag used in echo
# _fUnKy_BACKSLASH_C_sTuFf_ - continuation (echo)
#-------------------------------------------------------------------------
#
-# And all the shell scripts here get stuffed with the default
-# values for BINDIR, DATADIR, and POSTGRESDIR
+# Insert installation-dependent filepaths into the shell script
#
-SEDSCRIPT= -e "s^_fUnKy_BINDIR_sTuFf_^$(BINDIR)^g" \
- -e "s^_fUnKy_DATADIR_sTuFf_^$(DATADIR)^g" \
- -e "s^_fUnKy_IPCCLEANPATH_sTuFf_^$(IPCSDIR)^g" \
- -e "s^_fUnKy_POSTGRESDIR_sTuFf_^$(POSTGRESDIR)^g"
+SEDSCRIPT= \
+ -e "s^_fUnKy_BINDIR_sTuFf_^$(BINDIR)^g" \
+ -e "s^_fUnKy_LIBDIR_sTuFf_^$(LIBDIR)^g" \
+ -e "s^_fUnKy_DATADIR_sTuFf_^$(DATADIR)^g" \
+ -e "s^_fUnKy_IPCCLEANPATH_sTuFf_^$(IPCSDIR)^g" \
+ -e "s^_fUnKy_NAMEDATALEN_sTuFf_^$(NAMEDATALEN)^g" \
+ -e "s^_fUnKy_OIDNAMELEN_sTuFf_^$(OIDNAMELEN)^g"
#
# We also need to fix up the scripts to deal with the lack of installed