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


1.7
date	94.06.30.09.22.25;	author aoki;	state Exp;
branches;
next	1.6;

1.6
date	94.05.13.02.33.19;	author aoki;	state Exp;
branches;
next	1.5;

1.5
date	94.03.17.22.21.17;	author marc;	state Exp;
branches;
next	1.4;

1.4
date	93.07.20.22.40.02;	author marc;	state Exp;
branches;
next	1.3;

1.3
date	93.07.19.21.18.20;	author andrew;	state Exp;
branches;
next	1.2;

1.2
date	93.07.06.22.39.04;	author mao;	state Exp;
branches;
next	1.1;

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


desc
@makefile for access method internals doc section, postgres project
@


1.7
log
@whoops, don't mean to remove README too
@
text
@.include <postgres.global.mk>

.MAIN: all

.SUFFIXES: .cat .ps .me .ms

DOCSRCS= am.me array.me smgr.me fmgr.me libpq.me fastpath.me parse-tree.me query-tree.me

NROFF=nroff

GROFF=groff -set

DOCOBJS= ${DOCSRCS:S/.me/.ps/g}

.me.cat:
	${GROFF} -me -Tascii ${.IMPSRC} > ${.TARGET}

.me.ps:
	${GROFF} -me -Tps ${.IMPSRC} > ${.TARGET}

all: ${DOCOBJS}

install: all
	@@-if [ ! -d ${POSTDOCDIR} ]; then \
		mkdir ${POSTDOCDIR}; \
	fi
	@@-if [ ! -d ${POSTDOCDIR}/implementation ]; then \
		mkdir ${POSTDOCDIR}/papers; \
	fi
	for i in ${DOCOBJS}; do \
		${INSTALL} -m 444 $$i ${POSTDOCDIR}/implementation/$$i; \
	done; \
	${INSTALL} -c -m 444 README ${POSTDOCDIR}/implementation/README

.include <postgres.prog.mk>
@


1.6
log
@array.me
@
text
@d13 1
a13 2
#DOCOBJS= ${DOCSRCS:S/.me/.cat/g} ${DOCSRCS:S/.me/.ps/g}
DOCOBJS= ${DOCSRCS:S/.me/.ps/g} README
d32 2
a33 1
	done
@


1.5
log
@checkin for 4.2
@
text
@d7 1
a7 1
DOCSRCS= am.me smgr.me fmgr.me libpq.me fastpath.me parse-tree.me query-tree.me
@


1.4
log
@copy Makefile structure from src/doc/Makefile so we can just move these
files over to there when we're done.
@
text
@d5 1
a5 1
.SUFFIXES: .cat .ps .me
d7 1
a7 1
DOCSRCS= am.me smgr.me fmgr.me
d11 1
a11 1
GROFF=groff -spte
d13 2
a14 1
DOCOBJS= ${DOCSRCS:S/.me/.cat/g} ${DOCSRCS:S/.me/.ps/g}
d24 11
a35 1

@


1.3
log
@add fmgr doc
@
text
@d1 1
a1 4
SRC=	am.me smgr.me fmgr.me
DEST=	am.ps smgr.ps fmgr.ps
ROFF=	groff
RFLAGS=	-te -me -Tps
d3 1
a3 1
all:	$(DEST)
d5 1
a5 2
am.ps: am.me
	$(ROFF) $(RFLAGS) am.me > am.ps
d7 1
a7 2
smgr.ps: smgr.me
	$(ROFF) $(RFLAGS) smgr.me > smgr.ps
d9 16
a24 2
fmgr.ps: fmgr.me
	$(ROFF) $(RFLAGS) fmgr.me > fmgr.ps
@


1.2
log
@add smgr doc
@
text
@d1 2
a2 2
SRC=	am.me smgr.me
DEST=	am.ps smgr.ps
d13 3
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
SRC=	am.me
DEST=	am.ps
d9 4
a12 1
	$(ROFF) $(RFLAGS) $(SRC) > $(DEST)
@
