#
# Remebering stuff sucks
#
default:
@echo
@which sgml2html >/dev/null || \
(echo "Sorry, sgmltools don't seem to be installed."; \
echo "Try downloading the documentation from the tircproxy home page."; \
echo; false)
@echo Available documentation formats are: html dvi txt ps pdf
@echo
@echo 'To make documentation in format XYZ, type "make tircproxy.XYZ".'
@echo 'To make everything, type "make all".'
@echo
all: tircproxy.html tircproxy.dvi tircproxy.txt tircproxy.ps tircproxy.pdf
tircproxy.html: tircproxy.sgml
sgml2html -split 2 tircproxy.sgml
ln -fs tircproxy.html index.html
tircproxy.txt: tircproxy.sgml
sgml2txt tircproxy.sgml
tircproxy.dvi: tircproxy.sgml
sgml2latex tircproxy.sgml
tircproxy.ps: tircproxy.dvi
dvips tircproxy -o tircproxy.ps
tircproxy.pdf: tircproxy.ps
ps2pdf tircproxy.ps tircproxy.pdf
clean:
rm -f *~ *.html *.txt *.tex *.dvi *.log *.ps *.pdf
syntax highlighted by Code2HTML, v. 0.9.1