summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python')
-rw-r--r--libdimension-python/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/libdimension-python/Makefile.am b/libdimension-python/Makefile.am
index 90d7d45..5a8b528 100644
--- a/libdimension-python/Makefile.am
+++ b/libdimension-python/Makefile.am
@@ -37,3 +37,12 @@ dimension_la_LIBADD = $(top_builddir)/libdimension/libdimension.la
EXTRA_DIST = dimension.pyx \
dimension.pxd
+
+doc:
+ mkdir -p doc
+ PYTHONPATH=$(top_builddir)/libdimension-python/.libs pydoc -w dimension
+ mv dimension.html doc/
+clean-doc:
+ rm -rf doc
+
+.PHONY: doc