Rev 10 | Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 10 | Rev 11 | ||
|---|---|---|---|
| Line 43... | Line 43... | ||
| 43 | BUILD_HTML_DIR = build/html/ |
43 | BUILD_HTML_DIR = build/html/ |
| 44 | BUILD_PDF_DIR = build/pdf/ |
44 | BUILD_PDF_DIR = build/pdf/ |
| 45 | BUILD_HTML_CHUNKED_DIR = build/html.chunked/ |
45 | BUILD_HTML_CHUNKED_DIR = build/html.chunked/ |
| 46 | 46 | ||
| 47 | 47 | ||
| 48 | all: html pdf |
48 | all: html htmlchunked pdf |
| 49 | 49 | ||
| 50 | build: clean all |
50 | build: clean all |
| 51 | 51 | ||
| 52 | html: |
52 | html: |
| 53 | mkdir -p $(BUILD_HTML_DIR) |
53 | mkdir -p $(BUILD_HTML_DIR) |
| 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 | --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 |
| 60 | htmlchunked: |
61 | htmlchunked: |
| 61 | mkdir -p $(BUILD_HTML_CHUNKED_DIR) |
62 | mkdir -p $(BUILD_HTML_CHUNKED_DIR) |
| 62 | mkdir -p $(BUILD_HTML_CHUNKED_DIR)images |
63 | mkdir -p $(BUILD_HTML_CHUNKED_DIR)images |
| 63 | cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images |
64 | cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images |
| 64 | xsltproc \ |
65 | xsltproc \ |
| 65 | --stringparam section.autolabel 1 \ |
66 | --stringparam section.autolabel 1 \ |
| 66 | --stringparam section.label.includes.component.label 1 \ |
67 | --stringparam section.label.includes.component.label 1 \ |
| - | 68 | --stringparam chunk.section.depth 0 \ |
|
| - | 69 | --stringparam section.autolabel.max.depth 3 \ |
|
| 67 | --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 |
| 68 | 71 | ||
| 69 | pdf: |
72 | pdf: |
| 70 | mkdir -p $(BUILD_PDF_DIR) |
73 | mkdir -p $(BUILD_PDF_DIR) |
| 71 | mkdir -p $(BUILD_PDF_DIR)images |
74 | mkdir -p $(BUILD_PDF_DIR)images |