.PHONY: all html clean ps

all: html rtf ps

html:
	db2html hello.sgml
	/bin/mv hello ../output/html

ps:
	db2ps hello.sgml
	mv *.ps ../output/ps

rtf:
	db2rtf hello.sgml
	mv hello.rtf ../output/rtf

clean:
	rm -rf hello
	rm -f *.rtf
	rm -f *.tex
	rm -f *.ps
	rm -f *.aux
	rm -f *.dvi
	rm -f *.log

