beckerjc@66: all: html pdf ps
beckerjc@66: 
beckerjc@66: .PHONY: html dvi ps pdf tex dist
beckerjc@66: 
beckerjc@66: html:
beckerjc@66: 	mkdir -p ../html
beckerjc@66: 	docbook2html -o ../html xml/etik-ol.xml
beckerjc@66: 
beckerjc@66: dvi:
beckerjc@66: 	docbook2dvi -o .. xml/etik-ol.xml
beckerjc@66: 
beckerjc@66: ps:
beckerjc@66: 	docbook2ps -o .. xml/etik-ol.xml
beckerjc@66: 
beckerjc@66: pdf:
beckerjc@66: 	docbook2pdf -o .. xml/etik-ol.xml
beckerjc@66: 
beckerjc@66: tex:
beckerjc@66: 	docbook2tex -o .. xml/etik-ol.xml
beckerjc@66: 
beckerjc@66: 
beckerjc@66: dist:
beckerjc@66: 	cd ..
beckerjc@66: 	mkdir -p etik-ol-doc-html
beckerjc@66: 	cp -r html src/pics etik-ol-doc-html
beckerjc@66: 	echo "Open html/index.html!" > etik-ol-doc-html/README
beckerjc@66: 	tar czvf etik-ol-doc-html.tar.gz etik-ol-doc-html
beckerjc@66: 	rm -rf etik-ol-doc-html
beckerjc@66: 	mkdir -p dist
beckerjc@66: 	cp etik-ol-doc-html.tar.gz dist
beckerjc@66: 	cp ps/etik-ol.ps dist
beckerjc@66: 	rm -rf dist/pics dist/html
beckerjc@66: 	cp -r html src/pics dist
beckerjc@66: 
beckerjc@66: clean:
beckerjc@66: 	rm -rf xml/*~ *~ 
beckerjc@66: 	cd ..;\
beckerjc@66: 	rm -rf etik-ol.ps etik-ol.pdf html dist \
beckerjc@66: 	etik-ol-doc-html.tar.gz etik-ol-doc-html\
beckerjc@66: 	etik-ol.dvi etik-ol.tex