-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·28 lines (22 loc) · 778 Bytes
/
Makefile
File metadata and controls
executable file
·28 lines (22 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
########################################################################
#
# Generate the HTML documents from DocBook sources
#
########################################################################
#SAXON = java -jar /Users/lyle/saxon-8.9/saxon8.jar
SAXON = java -jar /Users/lyle/saxon-6.5.5/saxon.jar
HTML_STYLESHEET = custom-html.xsl
#FO_STYLESHEET = custom-fo.xsl
FO_STYLESHEET = /Users/lyle/docbook/docbook5-xsl-1.72.0/fo/docbook.xsl
FOP = /Users/lyle/fop-0.93/fop
RSYNC_OPTS=-avze ssh
all: html
html:
$(SAXON) book.xml $(HTML_STYLESHEET)
pdf:
$(SAXON) book.xml $(FO_STYLESHEET) > book.fo
$(FOP) book.fo book.pdf
upload:
rsync $(RSYNC_OPTS) *.html *.xsl *.css images lyle@rubyforge.org:/var/www/gforge-projects/fxruby/doc
clean:
@rm -f *.html book.fo book.pdf