summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-11-30 08:46:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-11-30 08:46:43 +1000
commitb065a1d509556294db8523b9e5793ba0e82f2295 (patch)
tree1304ce0fa60e62386ea9ea71a9fbba52a0703589 /doc
parent658456b7f98e13f6c14cc07ab3a1f68873feae09 (diff)
doc: dodgy up Makefile.am to run doxygen on build
This is most likely not correct but good enough. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8f2d617..27850a8 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,9 +1,16 @@
EXTRA_DIST = doxygen.conf
if HAVE_DOXYGEN
+EXTRA_DIST += html
-# This should actual do something, but beats me how
-html: libwacom/libwacom.h
+all-local: doxygen
+
+doxygen: $(top_srcdir)/libwacom/libwacom.h
doxygen doxygen.conf
+
+clean-local:
+ rm -rf html
+
+.PHONY: doxygen
endif