# jar mod Fri Dec  3 12:15:05 MST 2004
# jar mod Tue Feb 10 17:44:56 MST 2004
# jar mod for test - Tue Jul 19 22:28:06 MST 2005

#SYSTYPE=GNU		
					#*****edit the next line
OBJDIR=../bin
					#*****edit the next line
MAN1DIR=../man/man1
					#*****edit the next line
MAN5DIR=../man/man5

TEMPDIR=/tmp
#NEWSDIR=/var/spool/news
#BOOKTITLE=Alt.Gourmand Cookbook
					#*****edit the next line
BOOKTITLE=Test Cookbook
					#*****edit the next line
DEFDIR=../Recipes
DEFPATH=:$(OBJDIR):$$PATH
DEFTROFF=troff -b -man -C -i -rC1 -U 
					#*****edit the next line
DEFPAGER=more
METRIC=0

# set VERBATIM=1=do not filter with usenet header extractor
#EXTRACTOR=1
# set VERBATIM=0=filter with usenet header extractor
EXTRACTOR=0

					#*****edit the next line
COVERPAGE=../Programs/rcbook.cover
#COVERPAGE=rcbook.cover.altgourmand
#COVERPAGE=rcbook.cover.rupley

#OBJECTS=rcbook.t rcbook.n rcextract rckeep rcnroff rcshow rctypeset rckeepnew 
OBJECTS=rcbook.t rctypeset rcbook.n

TARGET="rcbook.t rctypeset rcbook.n"

configure: Makefile 
	sh configure.sh '$(EXTRACTOR)' '$(OBJDIR)' '$(BOOKTITLE)' '$(DEFDIR)' \
	'$(DEFPATH)' '$(DEFTROFF)' '$(COVERPAGE)' '$(METRIC)' '$(TEMPDIR)' 

clean:
	rm -f $(OBJECTS) *.n.X rcnroff.X *.tmp cookbook.1 recipes.5
	rm -f Scr.*

install:
	cp -p $(OBJECTS) $(OBJDIR)
	cp -p cookbook.1 $(MAN1DIR)
	cp -p recipes.5 $(MAN5DIR)

