all: htm txt ps

htm:
	sgml2html mops.sgml
	rm -f html/*.html
	mv *.html html

txt:
	sgml2txt -f mops.sgml

ps:
	/usr/bin/tcsh -c "sed -f sedsrc mops.sgml >! mopsl.sgml"
	sgml2latex -o ps mopsl.sgml
	mv mopsl.ps mops.ps
	rm -f mopsl.sgml

clean:
	rm -f *.html *.txt html/*.html

