Rev 6 | Rev 10 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 6 | Rev 8 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | FOP=$(FOP_DIR)fop.sh |
40 | FOP=$(FOP_DIR)fop.sh |
| 41 | 41 | ||
| 42 | # Output folders |
42 | # Output folders |
| 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 | - | ||
| - | 45 | BUILD_HTML_CHUNKED_DIR = build/html.chunked/ |
|
| 46 | 46 | ||
| 47 | 47 | ||
| 48 | all: html pdf |
48 | all: html 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 \ |
|
| - | 57 | --stringparam section.autolabel 1 \ |
|
| - | 58 | --stringparam section.label.includes.component.label 1 \ |
|
| 56 | xsltproc --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml |
59 | --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml |
| - | 60 | htmlchunked: |
|
| - | 61 | mkdir -p $(BUILD_HTML_CHUNKED_DIR) |
|
| - | 62 | mkdir -p $(BUILD_HTML_CHUNKED_DIR)images |
|
| - | 63 | cp src/images/* $(BUILD_HTML_CHUNKED_DIR)images |
|
| - | 64 | xsltproc \ |
|
| - | 65 | --stringparam section.autolabel 1 \ |
|
| - | 66 | --stringparam section.label.includes.component.label 1 \ |
|
| - | 67 | --output $(BUILD_HTML_CHUNKED_DIR)index.html $(DOCBOOK_DIR)html/chunk.xsl src/index.xml |
|
| 57 | 68 | ||
| 58 | pdf: |
69 | pdf: |
| 59 | mkdir -p $(BUILD_PDF_DIR) |
70 | mkdir -p $(BUILD_PDF_DIR) |
| 60 | mkdir -p $(BUILD_PDF_DIR)images |
71 | mkdir -p $(BUILD_PDF_DIR)images |
| 61 | cp src/images/* $(BUILD_PDF_DIR)images |
72 | cp src/images/* $(BUILD_PDF_DIR)images |