summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-06-27 11:36:45 +1000
committerChase Douglas <chase.douglas@canonical.com>2012-07-03 17:47:47 -0700
commita3fe0e7bb473d86871a6226d465197bf8347d9f8 (patch)
tree55c52320a0992cdb8696a7c78c3902e154a895c8 /doc
parent5f2cd83b3e66d8de129de4107d5c7ad7965dd2d7 (diff)
Build documentation if doxygen is available
Don't make it a separate build target, just build it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 18ed073..94613a3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -26,6 +26,9 @@
EXTRA_DIST = \
Doxyfile
+if HAVE_DOXYGEN
+all-local: doc
+
doc:
doxygen
@@ -38,6 +41,7 @@ install-data-local:
$(INSTALL) -d $(DESTDIR)$(mandir)/man3; \
$(INSTALL) api/man/man3/* $(DESTDIR)$(mandir)/man3; \
fi
+endif
clean-local:
-rm -rf *.pdf *.html api