summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 445d2fd6f0b5ae0f3c32c9159b62af0b3ebc4fa2 (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
man_MANS = \
	dbus-cleanup-sockets.1 \
	dbus-daemon.1 \
	dbus-launch.1 \
	dbus-monitor.1 \
	dbus-send.1 \
	dbus-uuidgen.1

MAN_IN_FILES = dbus-daemon.1.in

EXTRA_DIST= 					\
	busconfig.dtd				\
	diagram.png				\
	diagram.svg				\
	introspect.dtd				\
	dbus-faq.xml				\
	dbus-specification.xml			\
	dbus-test-plan.xml			\
	dbus-tutorial.xml			\
	dcop-howto.txt				\
	file-boilerplate.c			\
	introspect.xsl				\
	system-activation.txt			\
	$(MAN_IN_FILES) $(man_MANS)

HTML_FILES=					\
	dbus-faq.html				\
	dbus-specification.html			\
	dbus-test-plan.html			\
	dbus-tutorial.html

if DBUS_XML_DOCS_ENABLED
all-local:: $(HTML_FILES)

EXTRA_DIST += $(HTML_FILES)

dbus-specification.html: dbus-specification.xml
	$(XMLTO) html-nochunks $<

dbus-test-plan.html: dbus-test-plan.xml
	$(XMLTO) html-nochunks $<

dbus-tutorial.html: dbus-tutorial.xml
	$(XMLTO) html-nochunks $<

dbus-faq.html: dbus-faq.xml
	$(XMLTO) html-nochunks $<

endif

if DBUS_DOXYGEN_DOCS_ENABLED
# Use the index as a proxy for the entire doc tree.
DOXYGEN_HTML_INDEX = api/html/index.html

all-local:: $(DOXYGEN_HTML_INDEX)

$(DOXYGEN_HTML_INDEX): $(wildcard $(top_srcdir)/dbus/*.[ch])
	$(AM_V_GEN)cd $(top_builddir) && doxygen Doxyfile
endif

clean-local:
	rm -rf api

maintainer-clean-local:
	rm -f $(HTML_FILES)