#
# $Log$

%.html: %.sgml
	format -T html $* | prehtml | fixref > tmp.html
	format -T html $* | prehtml >> tmp.html
	cat tmp.html | html2html $* > $@
	rm tmp.html

%.txt: %.sgml
	format -T nroff $* | qroff > $@

%.tex: %.sgml
	format -T latex $* > $@

%.ps: %.tex
	qtex $* > $@

%.gz: %
	gzip -c -9 $* > $@

HTMLS = emumin9.html

PSS = emumin9.ps emumin9.ps.gz

TXTS = emumin9.txt

FILES = $(HTMLS) $(PSS) $(TXTS)


all: files emumin9.tar emumin9.tar.gz

files: $(FILES)

emumin9.tar: files
	rm -f *~ emumin9.tex
	tar cvf emumin9.tar emumin9.* emumin9-*.html Makefile
