aboutsummaryrefslogtreecommitdiff
path: root/doc/api/python
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-11-14 01:33:33 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-11-14 01:33:33 +0000
commit19cdc245b2e1d3076060ddd7def5aee33f83b174 (patch)
tree1b1b17f4ce3ea2904f67643ede351f297a03b263 /doc/api/python
parent18115303e89e8ad5d5934c7dfdde9c671b57637e (diff)
downloadpaludis-19cdc245b2e1d3076060ddd7def5aee33f83b174.tar.gz
paludis-19cdc245b2e1d3076060ddd7def5aee33f83b174.tar.xz
(python) Reference examples in the docs.
Diffstat (limited to 'doc/api/python')
-rw-r--r--doc/api/python/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/python/Makefile.am b/doc/api/python/Makefile.am
index 0429561d5..6d4fbe24a 100644
--- a/doc/api/python/Makefile.am
+++ b/doc/api/python/Makefile.am
@@ -1,6 +1,6 @@
SUBDIRS = .
-CLEANFILES = *~ python/*
+CLEANFILES = *~ python/*/*
MAINTAINERCLEANFILES = Makefile.in
examples = \
@@ -20,7 +20,7 @@ all-local : epydoc
epydoc : python
-python : epydoc.css python_syntax.css create_python_examples.py $(examples)
+python : $(top_builddir)/python/paludis.so epydoc.css python_syntax.css create_python_examples.py $(examples)
rm -fr python
mkdir python
env \
@@ -37,6 +37,7 @@ python : epydoc.css python_syntax.css create_python_examples.py $(examples)
epydoc -n Paludis -o python -u http://paludis.pioto.org --no-frames -c $(srcdir)/epydoc.css \
$(top_builddir)/python/paludis.so
$(PYTHON) $(srcdir)/create_python_examples.py $(srcdir) $(examples)
+ find python/ -type f | xargs sed -i -e 's@http://###EX###@@'
cp $(srcdir)/python_syntax.css python/