diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-09-25 15:59:00 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-09-25 15:59:00 -0400 |
commit | 6f5735433e9766cbdeab6f151b44ed82e95d2863 (patch) | |
tree | 4cdf27012efcd45ff5c2fcd16491ce9dd0e2c101 /libdimension-python | |
parent | ff8999ebcfa0b358e56e9028d26562c59881dfad (diff) | |
download | dimension-6f5735433e9766cbdeab6f151b44ed82e95d2863.tar.xz |
Add `doc' target to libdimension-python, using pydoc.
Diffstat (limited to 'libdimension-python')
-rw-r--r-- | libdimension-python/Makefile.am | 9 |
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 |