WritingDocumentationUsingDocBook: Makefile.example

File Makefile.example, 0.6 kB (added by dshipton, 2 years ago)

Example use of <tt>docbook.mk</tt>

Line 
1 default: html
2
3 docs: html chunk-html pdf
4 install-docs: install-html install-chunk-html install-pdf
5
6 NAME=           my_doc
7 XML_FILES=      $(NAME).xml
8
9 #XSLT_TOOL=     Saxon
10
11 SVG_IMAGES=     figures/SomeImage.svg
12 IMAGES=         $(SVG_IMAGES:%.svg=%.png)
13
14 # Fill these in!!  Together, they make up the installation prefix.
15 webroot=        $(HOME)/public_html/docs
16 instdir=        my_doc
17
18 prefix=         $(webroot)/$(instdir)
19 INSTALL_DIRS=   figures
20 #INSTALL_FILES= $(webroot)/base_style.css
21
22 NEED_DB_IMAGES= 1
23
24 $(NAME).html: $(IMAGES)
25 $(NAME)/index.html: $(IMAGES)
26 $(NAME).pdf: $(IMAGES)
27
28 CLOBBER_FILES=  $(IMAGES)
29
30 include docbook.mk