#
#	Makefile for the ipchains HOWTOS.
#	(C) Paul Russell 1998 All rights reserved.
#       EMail complaints to ipchains@wantree.com.au.
#
#	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 of the License, 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.
#
#	You should have received a copy of the GNU General Public License
#	along with this program; if not, write to the Free Software
#	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

all: HOWTO.txt HOWTO.A4.ps HOWTO.USLetter.ps HOWTO.html
	rm -f HOWTO.dvi HOWTO.tex

clean:
	rm -f *~ `ls HOWTO* | grep -v '^HOWTO.sgml'`

HOWTO.txt: HOWTO.sgml
	sgml2txt $<

HOWTO.tex: HOWTO.sgml
	sgml2latex $<

HOWTO.dvi: HOWTO.tex
	latex HOWTO.tex
	latex HOWTO.tex
	rm -f HOWTO.aux HOWTO.log HOWTO.toc

HOWTO.A4.ps: HOWTO.dvi
	dvips -o $@ -t a4 $<

HOWTO.USLetter.ps: HOWTO.dvi
	dvips -o $@ -t letter $<

HOWTO.html: HOWTO.sgml
	sgml2html $<

