all: pdf html
html: intro.sgml
sgml2html --split=1 intro.sgml
if [ ! -e index.html ]; then ln -s intro.xml-1.html index.html; fi
pdf: intro.sgml
linuxdoc -B latex --output=pdf intro.sgml
clean:
-rm *.html
-rm *.dvi
-rm *.tex
-rm *.pdf
-rm *.log
-rm *~
check:
sgml2html --backend=check intro.sgml