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