Move manpages to doc/
[platform/upstream/dbus.git] / doc / Makefile.am
1 man_MANS = \
2         dbus-cleanup-sockets.1 \
3         dbus-daemon.1 \
4         dbus-launch.1 \
5         dbus-monitor.1 \
6         dbus-send.1 \
7         dbus-uuidgen.1
8
9 MAN_IN_FILES = dbus-daemon.1.in
10
11 EXTRA_DIST=                                     \
12         busconfig.dtd                           \
13         diagram.png                             \
14         diagram.svg                             \
15         introspect.dtd                          \
16         dbus-faq.xml                            \
17         dbus-specification.xml                  \
18         dbus-test-plan.xml                      \
19         dbus-tutorial.xml                       \
20         dcop-howto.txt                          \
21         file-boilerplate.c                      \
22         introspect.xsl                          \
23         system-activation.txt                   \
24         $(MAN_IN_FILES) $(man_MANS)
25
26 HTML_FILES=                                     \
27         dbus-faq.html                           \
28         dbus-specification.html                 \
29         dbus-test-plan.html                     \
30         dbus-tutorial.html
31
32 if DBUS_XML_DOCS_ENABLED
33 all-local:: $(HTML_FILES)
34
35 EXTRA_DIST += $(HTML_FILES)
36
37 dbus-specification.html: dbus-specification.xml
38         $(XMLTO) html-nochunks $<
39
40 dbus-test-plan.html: dbus-test-plan.xml
41         $(XMLTO) html-nochunks $<
42
43 dbus-tutorial.html: dbus-tutorial.xml
44         $(XMLTO) html-nochunks $<
45
46 dbus-faq.html: dbus-faq.xml
47         $(XMLTO) html-nochunks $<
48
49 endif
50
51 if DBUS_DOXYGEN_DOCS_ENABLED
52 # Use the index as a proxy for the entire doc tree.
53 DOXYGEN_HTML_INDEX = api/html/index.html
54
55 all-local:: $(DOXYGEN_HTML_INDEX)
56
57 $(DOXYGEN_HTML_INDEX): $(wildcard $(top_srcdir)/dbus/*.[ch])
58         $(AM_V_GEN)cd $(top_builddir) && doxygen Doxyfile
59 endif
60
61 clean-local:
62         rm -rf api
63
64 maintainer-clean-local:
65         rm -f $(HTML_FILES)