Rev 5 | Rev 8 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5 | Rev 6 | ||
---|---|---|---|
Line 49... | Line 49... | ||
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 | cp -R src/images $(BUILD_HTML_DIR) |
55 | cp src/images/* $(BUILD_HTML_DIR)images |
55 | xsltproc --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml |
56 | xsltproc --output $(BUILD_HTML_DIR)index.html $(DOCBOOK_DIR)html/docbook.xsl src/index.xml |
56 | 57 | ||
57 | pdf: |
58 | pdf: |
58 | mkdir -p $(BUILD_PDF_DIR) |
59 | mkdir -p $(BUILD_PDF_DIR) |
- | 60 | mkdir -p $(BUILD_PDF_DIR)images |
|
59 | cp -R src/images $(BUILD_PDF_DIR) |
61 | cp src/images/* $(BUILD_PDF_DIR)images |
60 | xsltproc --output $(BUILD_PDF_DIR)index.fo $(DOCBOOK_DIR)fo/docbook.xsl src/index.xml |
62 | xsltproc --output $(BUILD_PDF_DIR)index.fo $(DOCBOOK_DIR)fo/docbook.xsl src/index.xml |
61 | 63 | ||
62 | $(FOP) -q -fo $(BUILD_PDF_DIR)index.fo -pdf $(BUILD_PDF_DIR)index.pdf |
64 | $(FOP) -q -fo $(BUILD_PDF_DIR)index.fo -pdf $(BUILD_PDF_DIR)index.pdf |
63 | 65 | ||
64 | distclean: clean |
66 | distclean: clean |