Lisp syntax highlighting
Annotate for file /Makefile
2009-04-05 tobias 1 #
17:58:25 ' 2 # Dependancies:
2009-06-05 tobias 3 # - xmllint
14:17:33 ' 4 # - saxon
' 5 # - docbook
' 6 # - xslthl
2009-04-05 tobias 7 #
2009-06-05 tobias 8 # Debian: download the xslthl jar into the doc/ directory; install the remaining dependancies with apt.
14:17:33 ' 9 #
' 10
' 11 SAXON_JAR := /usr/share/java/saxon.jar
' 12 XSLTHL_JAR := $(firstword $(wildcard xslthl*.jar))
' 13 CLASSPATH := "$(SAXON_JAR):$(XSLTHL_JAR)"
' 14 SAXON := java -classpath $(CLASSPATH) \
' 15 -Dxslthl.config="file://$(realpath xslthl-config.xml)" \
' 16 com.icl.saxon.StyleSheet
2009-04-05 tobias 17
17:58:25 ' 18 all: manual.html index.html
' 19
2009-05-11 tobias 20 DEPENDANCIES := *.xml *.xsl ../qt.examples/src/*.lisp ../kde.examples/src/*.lisp *.dtd
2009-04-05 tobias 21
2009-06-05 tobias 22 # validate & process xincludes
14:17:33 ' 23 manual.tmp: $(DEPENDANCIES)
' 24 xmllint --xinclude --postvalid manual.xml > manual.tmp
' 25
' 26
' 27 manual.html: manual.tmp
' 28 $(SAXON) -o manual.html manual.tmp manual.xsl
2009-04-05 tobias 29
17:58:25 ' 30
2009-06-05 tobias 31 index.html: manual.tmp
14:17:33 ' 32 $(SAXON) manual.tmp chunk.xsl
2009-04-05 tobias 33
17:58:25 ' 34 .PHONY: clean
' 35 clean:
2009-06-05 tobias 36 rm -f -- *.html *.tmp