summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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