summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: e3333ed8f409915c79a684b2c3ff65835a7b070b (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
ASCIIDOC = @ASCIIDOC@

OUTPUT=html5
OPTIONS=\
	-a icons -a iconsdir=/usr/share/asciidoc/icons \
	-a max-width=800px \
	-a source-highlighter=pygments

OUT_DIR=./output

IN_FILES = \
	0_00_welcome.adoc 0_06_scope.adoc 1_05_variables.adoc \
	3_00_language_transformation.adoc 8_00_advanced_topics.adoc \
	9_00_q_and_a.adoc 0_01_installing.adoc 1_00_language_overview.adoc \
	1_06_iterators.adoc 3_01_lex.adoc 8_01_embedding.adoc \
	0_02_vim_syntax.adoc 1_01_statements.adoc 2_00_types.adoc \
	3_02_parse.adoc 8_02_modularity.adoc 0_03_commandline.adoc \
	1_02_expressions.adoc 2_01_basic.adoc 3_03_match.adoc \
	8_03_performance.adoc 0_04_hello_world.adoc 1_03_control_flow.adoc \
	2_02_list_map_struct_alias.adoc 3_04_undo.adoc 8_04_error_handling.adoc \
	0_05_fizzbuzz.adoc 1_04_functions.adoc 2_03_def.adoc \
	3_05_reduction.adoc 8_05_contributing.adoc


OUT_FILES = \
	0_00_welcome.html 0_06_scope.html 1_05_variables.html \
	3_00_language_transformation.html 8_00_advanced_topics.html \
	9_00_q_and_a.html 0_01_installing.html 1_00_language_overview.html \
	1_06_iterators.html 3_01_lex.html 8_01_embedding.html \
	0_02_vim_syntax.html 1_01_statements.html 2_00_types.html \
	3_02_parse.html 8_02_modularity.html 0_03_commandline.html \
	1_02_expressions.html 2_01_basic.html 3_03_match.html \
	8_03_performance.html 0_04_hello_world.html 1_03_control_flow.html \
	2_02_list_map_struct_alias.html 3_04_undo.html 8_04_error_handling.html \
	0_05_fizzbuzz.html 1_04_functions.html 2_03_def.html \
	3_05_reduction.html 8_05_contributing.html

CLEANFILES = $(OUT_FILES)

EXTRA_DIST = $(IN_FILES)

doc_DATA = $(OUT_FILES)

SUFFIXES = .html .adoc

.adoc.html:
	$(ASCIIDOC) -b $(OUTPUT) $(OPTIONS) -o $@ $<