doc-docbook/src/Makefile
changeset 85 15362fafaf1a
child 126 89c6e4687fcc
equal deleted inserted replaced
-1:000000000000 0:ea7ea190456e
       
     1 all: html pdf ps
       
     2 
       
     3 .PHONY: html dvi ps pdf tex dist
       
     4 
       
     5 html:
       
     6 	mkdir -p ../html
       
     7 	docbook2html -o ../html xml/etik-ol.xml
       
     8 
       
     9 dvi:
       
    10 	docbook2dvi -o .. xml/etik-ol.xml
       
    11 
       
    12 ps:
       
    13 	docbook2ps -o .. xml/etik-ol.xml
       
    14 
       
    15 pdf:
       
    16 	docbook2pdf -o .. xml/etik-ol.xml
       
    17 
       
    18 tex:
       
    19 	docbook2tex -o .. xml/etik-ol.xml
       
    20 
       
    21 
       
    22 dist:
       
    23 	cd ..
       
    24 	mkdir -p etik-ol-doc-html
       
    25 	cp -r html src/pics etik-ol-doc-html
       
    26 	echo "Open html/index.html!" > etik-ol-doc-html/README
       
    27 	tar czvf etik-ol-doc-html.tar.gz etik-ol-doc-html
       
    28 	rm -rf etik-ol-doc-html
       
    29 	mkdir -p dist
       
    30 	cp etik-ol-doc-html.tar.gz dist
       
    31 	cp ps/etik-ol.ps dist
       
    32 	rm -rf dist/pics dist/html
       
    33 	cp -r html src/pics dist
       
    34 
       
    35 clean:
       
    36 	rm -rf xml/*~ *~ 
       
    37 	cd ..;\
       
    38 	rm -rf etik-ol.ps etik-ol.pdf html dist \
       
    39 	etik-ol-doc-html.tar.gz etik-ol-doc-html\
       
    40 	etik-ol.dvi etik-ol.tex