head	1.18;
access;
symbols;
locks; strict;
comment	@# @;


1.18
date	92.08.12.03.39.46;	author mao;	state Exp;
branches;
next	1.17;

1.17
date	92.07.13.03.35.41;	author ptong;	state Exp;
branches;
next	1.16;

1.16
date	92.07.13.01.37.46;	author ptong;	state Exp;
branches;
next	1.15;

1.15
date	92.06.22.19.48.15;	author ptong;	state Exp;
branches;
next	1.14;

1.14
date	92.06.17.20.59.14;	author mer;	state Exp;
branches;
next	1.13;

1.13
date	92.05.07.02.38.53;	author glass;	state Exp;
branches;
next	1.12;

1.12
date	91.12.02.01.59.54;	author kemnitz;	state Exp;
branches;
next	1.11;

1.11
date	91.08.18.03.51.39;	author kemnitz;	state Exp;
branches;
next	1.10;

1.10
date	91.08.15.15.06.45;	author mao;	state Exp;
branches;
next	1.9;

1.9
date	91.08.15.03.50.25;	author kemnitz;	state Exp;
branches;
next	1.8;

1.8
date	91.08.14.07.07.03;	author mao;	state Exp;
branches;
next	1.7;

1.7
date	91.08.13.14.20.25;	author kemnitz;	state Exp;
branches;
next	1.6;

1.6
date	91.05.09.04.37.50;	author kemnitz;	state Exp;
branches;
next	1.5;

1.5
date	91.03.09.05.11.18;	author kemnitz;	state Exp;
branches;
next	1.4;

1.4
date	90.07.29.04.19.09;	author kemnitz;	state Exp;
branches;
next	1.3;

1.3
date	90.07.19.20.55.37;	author kemnitz;	state Exp;
branches;
next	1.2;

1.2
date	90.07.19.17.00.19;	author claire;	state Exp;
branches;
next	1.1;

1.1
date	90.07.18.16.25.24;	author mao;	state Exp;
branches;
next	;


desc
@print the reference manual...
@


1.18
log
@add pagedoc, shmemdoc
@
text
@:
#!/bin/sh
#
# SET SITE-SPECIFIC VARIABLES HERE!
#

REFDIR=.

#
# The PRINTER variable needs to be set to the printer you wish to print to.
# For best results, it should be a POSTSCRIPT printer.
#

PRINTER=-Plw

#
# Check these.  If you don't have something listed here YOU WILL NEED TO
# GET IT IN ORDER TO PRINT THIS DOCUMENT.
#

MACROS="-me"
SOELIM=soelim
GROFF="groff -spt $MACROS "
TBL="tbl"

cd $REFDIR

SOURCES="
	pgtmacs \
	introduction \
	unix/information  \
		unix/createdb \
		unix/createuser \
		unix/destroydb \
		unix/destroyuser \
		unix/initdb \
		unix/ipcclean \
		unix/monitor \
		unix/pagedoc \
		unix/postgres \
		unix/postmaster \
		unix/shmemdoc \
	information/built-in \
	information/postquel \
		postquel/abort \
		postquel/addattr \
		postquel/append \
		postquel/attachas \
		postquel/begin \
		postquel/close \
		postquel/cluster \
		postquel/copy \
		postquel/create \
		postquel/createdb \
		postquel/createversion \
		postquel/defineaggregate \
		postquel/defineFunction \
		postquel/defineindex \
		postquel/defineoperator \
		postquel/definerule \
		postquel/definetype \
		postquel/defineview \
		postquel/delete \
		postquel/destroy \
		postquel/destroydb \
		postquel/end \
		postquel/fetch \
		postquel/listen \
		postquel/load \
		postquel/merge \
		postquel/move \
		postquel/notify \
		postquel/purge \
		postquel/removeaggregate \
		postquel/removefunction \
		postquel/removeindex \
		postquel/removeoperator \
		postquel/removerule \
		postquel/removetype \
		postquel/rename \
		postquel/replace \
		postquel/retrieve \
		postquel/vacuum \
	libpq \
	fastpath \
	large_objects \
	files/information \
		files/bki \
		files/page \
		files/template \
	references \
	toc
"
 
for i in $SOURCES
do
	if (test ! -f $i)
	then
		co $i
	fi
done

$GROFF $SOURCES > ref.t
@


1.17
log
@Ordered the UNIX section alphabetically
@
text
@d39 1
d42 1
@


1.16
log
@Hard coded the list of postquel pages so that the ordering can be controlled
and so that no trash files will get folded into the manual.
@
text
@d32 1
a32 3
	       	unix/initdb \
		unix/postmaster \
		unix/monitor \
d34 1
d36 3
a38 2
		unix/createdb \
		unix/destroydb \
d40 1
a40 1
		unix/ipcclean \
@


1.15
log
@Indent non-section header files
@
text
@d43 39
a81 1
		postquel/[a-z]* \
@


1.14
log
@move to groff and forget about of the old bs
@
text
@d32 9
a40 9
       	unix/initdb \
	unix/postmaster \
	unix/monitor \
	unix/createuser \
	unix/destroyuser \
	unix/createdb \
	unix/destroydb \
	unix/postgres \
	unix/ipcclean \
d43 1
a43 1
	postquel/[a-z]* \
d48 3
a50 3
	files/bki \
	files/page \
	files/template \
@


1.13
log
@added a bit of nroff support
@
text
@d1 1
d17 2
a18 2
# Check these.  IF YOU DO NOT HAVE GRN, YOU WILL NEED TO GET IT IN ORDER TO
# PRINT THIS DOCUMENT.
d23 2
a24 1
TBL="dtbl"
a25 16
#
# IF you have the GRN preprocessor for TROFF (which converts Gremlin output into
# TROFF line-drawing commands) you can print the reference manual as is.  If
# not, you will have to un-comment out the second definition for GRN.  You will
# be able to print the documentation, but without any illustrations.
#

GRN="grn $PRINTER"

# GRN="$REFDIR/eatgrn"

PSROFF="psroff $PRINTER $MACROS "
DITROFF="ditroff $FLAGS $MACROS "
TROFF="troff $PRINTER $MACROS "
NROFF="nroff $MACROS "

d28 26
a53 12
SOURCES="pgtmacs introduction unix/information  \
         unix/initdb \
		 unix/postmaster unix/monitor \
		 unix/createuser unix/destroyuser \
		 unix/createdb unix/destroydb \
		 unix/postgres unix/ipcclean \
		 information/built-in \
		 information/postquel \
		 postquel/[a-z]* \
		 libpq fastpath large_objects files/information \
		 files/bki files/page files/template \
		 references toc"
a54 1
touch /tmp/soe.$$
a60 1
	echo ".so $i" >> /tmp/soe.$$
d63 1
a63 8
$SOELIM /tmp/soe.$$ | $TBL | $GRN | $PSROFF -t > ref.t
rm -f /tmp/soe.$$






@


1.12
log
@got rid of information/introduction.
@
text
@d38 1
d67 6
@


1.11
log
@got rid of dayfile
@
text
@a46 1
		 information/introduction \
@


1.10
log
@information/system folded into information/built-in
@
text
@d52 1
a52 1
		 files/bki files/dayfile files/page files/template \
@


1.9
log
@added large_objects to list
@
text
@d48 1
a48 1
		 information/built-in information/system \
@


1.8
log
@get rid of dayfiles
@
text
@d51 2
a52 2
		 libpq fastpath files/information \
		 files/bki files/page files/template \
@


1.7
log
@got rid of vcontrol
@
text
@d52 1
a52 1
		 files/bki files/dayfile files/page files/template \
@


1.6
log
@added createuser and destroyuser.
@
text
@d46 1
a46 1
		 unix/postgres unix/vcontrol unix/ipcclean \
@


1.5
log
@added vcontrol and initdb to targetlist
@
text
@d43 3
a45 1
		 unix/createdb unix/destroydb unix/postmaster unix/monitor \
@


1.4
log
@Added new UNIX files.
@
text
@d42 1
d44 1
a44 1
		 unix/postgres unix/ipcclean \
@


1.3
log
@Changed absolute to relative pathname
@
text
@d42 2
a43 1
		 unix/createdb unix/destroydb unix/monitor \
@


1.2
log
@Checks out files if they do not exist.
@
text
@d6 1
a6 1
REFDIR=/usr/postgres/ref
@


1.1
log
@Initial revision
@
text
@d54 4
@
