2013-06-28 14:07:37 +00:00
|
|
|
FILES=lunatic.html lunacon.html
|
|
|
|
|
2013-10-24 17:48:19 +00:00
|
|
|
# NOTE: the 'source-highlight-args' attribute is not present in the default
|
|
|
|
# AsciiDoc distribution. It has to be hacked into its
|
|
|
|
# filters/source/source-highlight-filter.conf like this:
|
|
|
|
#
|
|
|
|
# filter="source-highlight -f xhtml -s {language} (...)"
|
|
|
|
# -->
|
|
|
|
# filter="source-highlight {source-highlight-args} -f xhtml -s {language} (...)"
|
|
|
|
%.html: %.txt Makefile lunatic_sh.style
|
2014-01-02 00:08:39 +00:00
|
|
|
asciidoc -v -a latexmath -a source-highlight-args="--style-file=$(shell pwd)/lunatic_sh.style" $<
|
2013-06-28 14:07:37 +00:00
|
|
|
|
|
|
|
all: $(FILES)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(FILES)
|