# Generated automatically from Makefile.in by configure.
#
# "$Id: Makefile.in,v 1.10 2000/06/30 13:46:30 mike Exp $"
#
#   Makefile for HTMLDOC, an HTML document processing program.
#
#   Copyright 1997-2000 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "COPYING.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: ESP Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636-3111 USA
#
#       Voice: (301) 373-9600
#       EMail: info@easysw.com
#         WWW: http://www.easysw.com
#

#
# Include common definitions...
#

include Makedefs


#
# Subdirectories...
#

DIRS	=	zlib png htmldoc doc


#
# Make all targets...
#

all:	Makedefs
	for dir in $(DIRS); do\
		echo Making all in $$dir...;\
		(cd $$dir; $(MAKE) -$(MAKEFLAGS)) || break;\
	done


#
# Remove object and target files...
#

clean:
	for dir in $(DIRS); do\
		echo Cleaning in $$dir...;\
		(cd $$dir; $(MAKE) -$(MAKEFLAGS) clean) || break;\
	done


#
# Install object and target files...
#

install:
	echo Installing in afm...
	(cd afm; $(MAKE) -$(MAKEFLAGS) install)
	echo Installing in data...
	(cd data; $(MAKE) -$(MAKEFLAGS) install)
	echo Installing in doc...
	(cd doc; $(MAKE) -$(MAKEFLAGS) install)
	echo Installing in htmldoc...
	(cd htmldoc; $(MAKE) -$(MAKEFLAGS) install)
	echo Installation is complete.


#
# Makedefs
#

Makedefs:	config.h.in Makedefs.in configure
	./configure


#
# Make a portable binary distribution using EPM.
#
# EPM = ESP Package Manager, available at "http://www.easysw.com/epm".
#

epm:
	epm -v -s setup.xpm htmldoc


#
# Make a RPM distribution using EPM.
#

rpm:
	epm -v -f rpm htmldoc


#
# Make a Debian distribution using EPM.
#

deb:
	epm -v -f deb htmldoc


#
# Make an IRIX distribution using EPM.
#

tardist:
	epm -v -f tardist htmldoc

#
# Make a Solaris distribution using EPM.
#

pkg:
	epm -v -f pkg htmldoc

#
# Make an HP-UX distribution using EPM.
#

depot:
	epm -v -f depot htmldoc


#
# End of "$Id: Makefile.in,v 1.10 2000/06/30 13:46:30 mike Exp $".
#
