Subversion Repositories HelenOS-doc

Rev

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

Rev 24 Rev 27
Line 55... Line 55...
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 2 \
59
	  --stringparam section.autolabel.max.depth 2 \
-
 
60
	  --stringparam preferred.mediaobject.role html \
60
	  --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml
61
	  --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml
61
htmlchunked:
62
htmlchunked:
62
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)
63
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)
63
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)images
64
	mkdir -p $(BUILD_HTML_CHUNKED_DIR)images
64
	cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images
65
	cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images
65
	xsltproc \
66
	xsltproc \
66
	  --stringparam section.autolabel 1 \
67
	  --stringparam section.autolabel 1 \
67
	  --stringparam section.label.includes.component.label 1 \
68
	  --stringparam section.label.includes.component.label 1 \
68
	  --stringparam chunk.section.depth 0 \
69
	  --stringparam chunk.section.depth 0 \
69
	  --stringparam section.autolabel.max.depth 2 \
70
	  --stringparam section.autolabel.max.depth 2 \
-
 
71
	  --stringparam preferred.mediaobject.role html \
70
	  --output $(BUILD_HTML_CHUNKED_DIR)index.html $(DOCBOOK_DIR)html/chunk.xsl src/index.xml
72
	  --output $(BUILD_HTML_CHUNKED_DIR)index.html $(DOCBOOK_DIR)html/chunk.xsl src/index.xml
71
 
73
 
72
pdf:   
74
pdf:   
73
	mkdir -p $(BUILD_PDF_DIR)
75
	mkdir -p $(BUILD_PDF_DIR)
-
 
76
	mkdir -p $(BUILD_PDF_DIR)images.vector
74
	mkdir -p $(BUILD_PDF_DIR)images
77
	mkdir -p $(BUILD_PDF_DIR)images
-
 
78
	cp src/images.vector/* $(BUILD_PDF_DIR)images.vector
75
	cp src/images/* $(BUILD_PDF_DIR)images
79
	cp src/images/* $(BUILD_PDF_DIR)images
76
	xsltproc \
80
	xsltproc \
77
	  --stringparam paper.type A4 \
81
	  --stringparam paper.type A4 \
78
	  --stringparam fop.extensions 1 \
82
	  --stringparam fop.extensions 1 \
79
	  --stringparam bondari.jimi.compatible 1 \
83
	  --stringparam bondari.jimi.compatible 1 \
80
	  --stringparam section.autolabel 1 \
84
	  --stringparam section.autolabel 1 \
81
	  --stringparam section.label.includes.component.label 1 \
85
	  --stringparam section.label.includes.component.label 1 \
82
	  --stringparam section.autolabel.max.depth 2 \
86
	  --stringparam section.autolabel.max.depth 2 \
83
	  --stringparam body.font.master 12 \
87
	  --stringparam body.font.master 12 \
-
 
88
	  --stringparam preferred.mediaobject.role fop \
84
	  --output  $(BUILD_PDF_DIR)index.fo $(DOCBOOK_DIR)fo/docbook.xsl src/index.xml
89
	  --output  $(BUILD_PDF_DIR)index.fo $(DOCBOOK_DIR)fo/docbook.xsl src/index.xml
85
 
90
 
86
	$(FOP) -q -fo $(BUILD_PDF_DIR)index.fo -pdf $(BUILD_PDF_DIR)index.pdf
91
	$(FOP) -q -fo $(BUILD_PDF_DIR)index.fo -pdf $(BUILD_PDF_DIR)index.pdf
87
 
92
 
88
distclean: clean
93
distclean: clean