summaryrefslogtreecommitdiff
path: root/documentation/boxbackup/Makefile
blob: 36016d731c2107cd902b50e2d509e95e26588b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Process DocBook to HTML

DBPROC=/usr/bin/xsltproc
BOOKXSL=bb-book.xsl
MANXSL=bb-man.xsl
VPATH= adminguide
.SUFFIXES: .html .xml

all: adminguide instguide 

adminguide: adminguide/index.html 

adminguide/index.html: adminguide.xml ExceptionCodes.xml $(BOOKXSL)
	# docname=`echo $@ | sed -e 's/\/index.html//'`
	$(DBPROC) -o adminguide/ $(BOOKXSL) adminguide.xml

instguide: instguide/index.html 

instguide/index.html: instguide.xml $(BOOKXSL)
	$(DBPROC) -o instguide/ $(BOOKXSL) instguide.xml

ExceptionCodes.xml: ../../ExceptionCodes.txt
	perl ./generate_except_xml.pl

dockit: instguide adminguide
	tar zcf documentation-kit-0.10.tar.gz html/ instguide/ adminguide/

clean:
	rm -rf ./instguide/
	rm -rf ./adminguide/
	rm ExceptionCodes.xml
	rm documentation-kit-0.10.tar.gz


# %.html: %.xml
# 	$(DBPROC) -o $@ $(BOOKXSL) $@.xml