#
# "$Id: Makefile.in,v 1.1.1.1 2001/09/18 01:47:14 jeff Exp $"
#
#   Makefile for the ESP Package Manager (EPM) documentation.
#
#   Copyright 1999-2001 by Easy Software Products, all rights reserved.
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2, or (at your option)
#   any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#

#
# Programs...
#

HTMLDOC	=	@HTMLDOC@
NROFF	=	@NROFF@
RM	=	@RM@


#
# Man page generation rules...
#

.SUFFIXES:	.1 .5 .man
.man.1 .man.5:
	$(RM) $@
	$(NROFF) -man $< > $@


#
# Targets...
#

MANPAGES	=	epm.1 epminstall.1 epm.list.5 mkepmlist.1
HTMLFILES	=	preface.html 1-intro.html 2-building.html \
			3-packaging.html 4-advanced.html a-license.html \
			b-manpages.html c-reference.html d-relnotes.html \
			e-samples.html epm.html epminstall.html mkepmlist.html


all:	$(MANPAGES)	epm-manual.html epm-manual.pdf

epm-manual.html:	$(HTMLFILES) epm-manual.book
	$(HTMLDOC) --batch epm-manual.book -f epm-manual.html
epm-manual.pdf:	$(HTMLFILES) epm-manual.book
	$(HTMLDOC) --batch epm-manual.book -f epm-manual.pdf
epm-manual.ps:	$(HTMLFILES) epm-manual.book
	$(HTMLDOC) --batch epm-manual.book -f epm-manual.ps


#
# End of "$Id: Makefile.in,v 1.1.1.1 2001/09/18 01:47:14 jeff Exp $".
#
