summaryrefslogtreecommitdiff
path: root/doc/vala/Makefile.am
blob: c980cf6a0dfeffcbc5ee71dd39042b1bd68e4f79 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
NULL =

book_name=vala@PACKAGE_SUFFIX@

bookdir=$(datadir)/devhelp/books/$(book_name)

chapter_data = \
	overview.html \
	types.html \
	expressions.html \
	statements.html \
	namespaces.html \
	methods.html \
	classes.html \
	structs.html \
	interfaces.html \
	enums.html \
	delegates.html \
	exceptions.html \
	attributes.html \
	$(NULL)

built_data = \
	index.html \
	$(chapter_data) \
	$(book_name).devhelp2 \
	$(NULL)

if HAVE_XSLTPROC
book_DATA = \
	$(built_data) \
	default.css \
	$(NULL)
endif

index.html: $(book_sources) xhtml.xsl
	$(AM_V_GEN)$(XSLTPROC) --xinclude $(srcdir)/xhtml.xsl $(srcdir)/index.xml > index.html

$(chapter_data): index.html

$(book_name).devhelp2: $(book_sources) devhelp.xsl
	$(AM_V_GEN)$(XSLTPROC) --xinclude $(srcdir)/devhelp.xsl $(srcdir)/index.xml > $(book_name).devhelp2

book_sources = \
	index.xml \
	overview.xml \
	types.xml \
	expressions.xml \
	statements.xml \
	namespaces.xml \
	methods.xml \
	classes.xml \
	structs.xml \
	interfaces.xml \
	enums.xml \
	delegates.xml \
	exceptions.xml \
	attributes.xml \
	$(NULL)

MOSTLYCLEANFILES = $(built_data)

EXTRA_DIST = \
	$(book_sources) \
	default.css \
	xhtml.xsl \
	devhelp.xsl \
	$(NULL)