Subversion Repositories HelenOS-doc

Rev

Rev 14 | Rev 24 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14 Rev 15
Line 54... Line 54...
54
	mkdir -p $(BUILD_HTML_DIR)images
54
	mkdir -p $(BUILD_HTML_DIR)images
55
	cp src/images/* $(BUILD_HTML_DIR)images
55
	cp src/images/* $(BUILD_HTML_DIR)images
56
	xsltproc \
56
	xsltproc \
57
	  --stringparam section.autolabel 1 \
57
	  --stringparam section.autolabel 1 \
58
	  --stringparam section.label.includes.component.label 1 \
58
	  --stringparam section.label.includes.component.label 1 \
59
	  --stringparam section.autolabel.max.depth 3 \
59
	  --stringparam section.autolabel.max.depth 2 \
60
	  --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml
60
	  --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml
61
htmlchunked:
61
htmlchunked:
62
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)
62
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)
63
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)images
63
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)images
64
	cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images
64
	cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images
65
	xsltproc \
65
	xsltproc \
66
	  --stringparam section.autolabel 1 \
66
	  --stringparam section.autolabel 1 \
67
	  --stringparam section.label.includes.component.label 1 \
67
	  --stringparam section.label.includes.component.label 1 \
68
	  --stringparam chunk.section.depth 0 \
68
	  --stringparam chunk.section.depth 0 \
69
	  --stringparam section.autolabel.max.depth 3 \
69
	  --stringparam section.autolabel.max.depth 2 \
70
	  --output $(BUILD_HTML_CHUNKED_DIR)index.html $(DOCBOOK_DIR)html/chunk.xsl src/index.xml
70
	  --output $(BUILD_HTML_CHUNKED_DIR)index.html $(DOCBOOK_DIR)html/chunk.xsl src/index.xml
71
 
71
 
72
pdf:   
72
pdf:   
73
	mkdir -p $(BUILD_PDF_DIR)
73
	mkdir -p $(BUILD_PDF_DIR)
74
	mkdir -p $(BUILD_PDF_DIR)images
74
	mkdir -p $(BUILD_PDF_DIR)images
Line 77... Line 77...
77
	  --stringparam paper.type A4 \
77
	  --stringparam paper.type A4 \
78
	  --stringparam fop.extensions 1 \
78
	  --stringparam fop.extensions 1 \
79
	  --stringparam bondari.jimi.compatible 1 \
79
	  --stringparam bondari.jimi.compatible 1 \
80
	  --stringparam section.autolabel 1 \
80
	  --stringparam section.autolabel 1 \
81
	  --stringparam section.label.includes.component.label 1 \
81
	  --stringparam section.label.includes.component.label 1 \
-
 
82
	  --stringparam section.autolabel.max.depth 2 \
82
	  --output  $(BUILD_PDF_DIR)index.fo $(DOCBOOK_DIR)fo/docbook.xsl src/index.xml
83
	  --output  $(BUILD_PDF_DIR)index.fo $(DOCBOOK_DIR)fo/docbook.xsl src/index.xml
83
 
84
 
84
	$(FOP) -q -fo $(BUILD_PDF_DIR)index.fo -pdf $(BUILD_PDF_DIR)index.pdf
85
	$(FOP) -q -fo $(BUILD_PDF_DIR)index.fo -pdf $(BUILD_PDF_DIR)index.pdf
85
 
86
 
86
distclean: clean
87
distclean: clean