aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-20 16:24:06 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-20 16:24:06 +0000
commit6c389d0c67af050221c16b6e675bd4f6e6bf91e8 (patch)
tree066fce86dba092642402cd8c3216a371e23d1793
parentab72c701f3028120985c4adad5c79b995a77b009 (diff)
downloadpaludis-6c389d0c67af050221c16b6e675bd4f6e6bf91e8.tar.gz
paludis-6c389d0c67af050221c16b6e675bd4f6e6bf91e8.tar.xz
Fix python docs
-rw-r--r--doc/api/python/Makefile.am20
1 files changed, 16 insertions, 4 deletions
diff --git a/doc/api/python/Makefile.am b/doc/api/python/Makefile.am
index a614064..deec814 100644
--- a/doc/api/python/Makefile.am
+++ b/doc/api/python/Makefile.am
@@ -1,15 +1,24 @@
SUBDIRS = .
-CLEANFILES = *~ epydoc/*
+CLEANFILES = *~ python/*
MAINTAINERCLEANFILES = Makefile.in
if ENABLE_PYTHON
-epydoc : epydoc.css built-sources
- mkdir epydoc
- epydoc -n Paludis -o epydoc -u http://paludis.pioto.org --no-frames -c epydoc.css \
+all-local : epydoc
+
+epydoc : python
+
+python : epydoc.css
+ rm -fr epydoc
+ mkdir -p epydoc
+ epydoc -n Paludis -o python -u http://paludis.pioto.org --no-frames -c epydoc.css \
$(top_builddir)/python/paludis.so
+install-data-local :
+ mkdir -p $(DESTDIR)$(htmldir)/api
+ cp -R python/ $(DESTDIR)$(htmldir)/api/python
+
else
epydoc :
@@ -35,3 +44,6 @@ htmldocs-subdirs :
htmldocs-local : $(paludisapipythonhtml_DATA)
+clean-local :
+ rm -fr python/
+