2003-08-18 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git] / doc / Makefile.am
1 EXTRA_DIST=                                     \
2         dbus-specification.html                 \
3         dbus-specification.sgml                 \
4         dbus-test-plan.html                     \
5         dbus-test-plan.sgml                     \
6         dcop-howto.txt                          \
7         file-boilerplate.c
8
9 if DBUS_DOCS_ENABLED
10 all-local: dbus-specification.html dbus-test-plan.html
11 endif
12
13 dbus-specification.html: dbus-specification.sgml
14         $(DB2HTML) -o . --nochunks $< &&        \
15         rm -r $(srcdir)/dbus-specification/stylesheet-images &&         \
16         (if test -d $(srcdir)/dbus-specification ; then \
17         rmdir $(srcdir)/dbus-specification ; fi)
18
19 dbus-test-plan.html: dbus-test-plan.sgml
20         $(DB2HTML) -o . --nochunks $< &&                \
21         rm -r $(srcdir)/dbus-test-plan/stylesheet-images &&             \
22         (if test -d $(srcdir)/dbus-test-plan ; then     \
23         rmdir $(srcdir)/dbus-test-plan ; fi)
24
25 maintainer-clean-local:
26         rm -f dbus-test-plan.html
27         rm -rf dbus-test-plan/stylesheet-images
28         test -d dbus-test-plan && rmdir dbus-test-plan
29         rm -f dbus-specification.html
30         rm -rf dbus-specification/stylesheet-images
31         test -d dbus-specification && rmdir dbus-specification