doc-docbook/src/Makefile
author alpar
Wed, 25 Feb 2004 12:11:28 +0000
changeset 128 f3511cffee11
parent 66 cd56b9c11492
child 153 7309f1b3fc47
permissions -rw-r--r--
.
     1 all: html pdf ps
     2 
     3 .PHONY: html dvi ps pdf tex dist
     4 
     5 html:
     6 	docbook2html -o html -d etik-ol-html.dsl xml/etik-ol.xml
     7 
     8 dvi:
     9 	docbook2dvi -o .. xml/etik-ol.xml
    10 
    11 ps:
    12 	docbook2ps -o .. xml/etik-ol.xml
    13 
    14 pdf:
    15 	docbook2pdf -o .. xml/etik-ol.xml
    16 
    17 tex:
    18 	docbook2tex -o .. xml/etik-ol.xml
    19 
    20 
    21 dist:
    22 	cd ..
    23 	mkdir -p etik-ol-doc-html
    24 	cp -r html src/pics etik-ol-doc-html
    25 	echo "Open html/index.html!" > etik-ol-doc-html/README
    26 	tar czvf etik-ol-doc-html.tar.gz etik-ol-doc-html
    27 	rm -rf etik-ol-doc-html
    28 	mkdir -p dist
    29 	cp etik-ol-doc-html.tar.gz dist
    30 	cp ps/etik-ol.ps dist
    31 	rm -rf dist/pics dist/html
    32 	cp -r html src/pics dist
    33 
    34 clean:
    35 	rm -rf xml/*~ *~ 
    36 	cd ..;\
    37 	rm -rf etik-ol.ps etik-ol.pdf html dist \
    38 	etik-ol-doc-html.tar.gz etik-ol-doc-html\
    39 	etik-ol.dvi etik-ol.tex