OPTIONS=--language=es --charset=latin
FILE=internet
FILES=txt html dvi ps latex rtf

all: $(FILES)

txt:
	sgml2txt $(OPTIONS) $(FILE)

html:
	sgml2html $(OPTIONS) --imagebuttons $(FILE)
                
dvi:
	sgml2latex $(OPTIONS) --papersize=a4 --output=dvi $(FILE)

ps:
	sgml2latex $(OPTIONS) --papersize=a4 --output=ps $(FILE)

tex latex:
	sgml2latex $(OPTIONS) --papersize=a4 --output=tex $(FILE)

rtf:
	sgml2rtf $(OPTIONS) $(FILE)

tgz:
	cd ../..;tar cvzf $(FILE).tar.gz $(FILE)
                                
clean:
	rm -f *.html *.dvi *.tgz *.txt *.tex *.ps *.rtf *~
