doc-docbook/src/Makefile
author beckerjc
Mon, 23 Feb 2004 16:34:08 +0000
changeset 122 0a60a10f43ac
child 126 89c6e4687fcc
permissions -rw-r--r--
generalt fajlok torlese
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@66
     6
	mkdir -p ../html
beckerjc@66
     7
	docbook2html -o ../html xml/etik-ol.xml
beckerjc@66
     8
beckerjc@66
     9
dvi:
beckerjc@66
    10
	docbook2dvi -o .. xml/etik-ol.xml
beckerjc@66
    11
beckerjc@66
    12
ps:
beckerjc@66
    13
	docbook2ps -o .. xml/etik-ol.xml
beckerjc@66
    14
beckerjc@66
    15
pdf:
beckerjc@66
    16
	docbook2pdf -o .. xml/etik-ol.xml
beckerjc@66
    17
beckerjc@66
    18
tex:
beckerjc@66
    19
	docbook2tex -o .. xml/etik-ol.xml
beckerjc@66
    20
beckerjc@66
    21
beckerjc@66
    22
dist:
beckerjc@66
    23
	cd ..
beckerjc@66
    24
	mkdir -p etik-ol-doc-html
beckerjc@66
    25
	cp -r html src/pics etik-ol-doc-html
beckerjc@66
    26
	echo "Open html/index.html!" > etik-ol-doc-html/README
beckerjc@66
    27
	tar czvf etik-ol-doc-html.tar.gz etik-ol-doc-html
beckerjc@66
    28
	rm -rf etik-ol-doc-html
beckerjc@66
    29
	mkdir -p dist
beckerjc@66
    30
	cp etik-ol-doc-html.tar.gz dist
beckerjc@66
    31
	cp ps/etik-ol.ps dist
beckerjc@66
    32
	rm -rf dist/pics dist/html
beckerjc@66
    33
	cp -r html src/pics dist
beckerjc@66
    34
beckerjc@66
    35
clean:
beckerjc@66
    36
	rm -rf xml/*~ *~ 
beckerjc@66
    37
	cd ..;\
beckerjc@66
    38
	rm -rf etik-ol.ps etik-ol.pdf html dist \
beckerjc@66
    39
	etik-ol-doc-html.tar.gz etik-ol-doc-html\
beckerjc@66
    40
	etik-ol.dvi etik-ol.tex