aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-18 13:15:08 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-18 13:15:08 +0000
commit362f76e1f5290c63a328861d5fe2e0fb09e7bb9a (patch)
tree53051bd89281c1b7ac950c95034fad61b8a77781
parent1c4f23900c16ed6ac5255e8f975e37c198ebf4a6 (diff)
downloadpaludis-362f76e1f5290c63a328861d5fe2e0fb09e7bb9a.tar.gz
paludis-362f76e1f5290c63a328861d5fe2e0fb09e7bb9a.tar.xz
Move python docs to doc/api/python.
-rw-r--r--Makefile.am3
-rw-r--r--doc/Makefile.am5
-rw-r--r--doc/api/Makefile.am5
-rw-r--r--doc/api/cplusplus/Makefile.am2
-rw-r--r--doc/api/python/Makefile.am18
-rw-r--r--doc/api/python/epydoc.css (renamed from doc/epydoc.css)0
6 files changed, 29 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 5873e44..777e4e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,9 @@ dist-hook :
doxygen : built-sources
$(MAKE) -C doc $@
+epydoc : all
+ $(MAKE) -C doc $@
+
check-local :
touch $(top_builddir)/done-check
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ceb5a11..01abdae 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -15,5 +15,8 @@ distcheck-deps-subdirs :
else $(MAKE) -C $$s distcheck-deps || exit 1 ; fi ; done
doxygen :
- make -C api doxygen
+ $(MAKE) -C api $@
+
+epydoc :
+ $(MAKE) -C api $@
diff --git a/doc/api/Makefile.am b/doc/api/Makefile.am
index 98cccf6..45ee54e 100644
--- a/doc/api/Makefile.am
+++ b/doc/api/Makefile.am
@@ -12,5 +12,8 @@ distcheck-deps-subdirs :
for s in `echo $(DIST_SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
doxygen :
- make -C cplusplus doxygen
+ $(MAKE) -C cplusplus $@
+
+epydoc :
+ $(MAKE) -C python $@
diff --git a/doc/api/cplusplus/Makefile.am b/doc/api/cplusplus/Makefile.am
index f3f44a7..5f51b49 100644
--- a/doc/api/cplusplus/Makefile.am
+++ b/doc/api/cplusplus/Makefile.am
@@ -21,7 +21,7 @@ doxygen_files = \
references.doxygen
EXTRA_DIST = doxygen.conf.in $(doxygen_files)
-CLEANFILES = *~ doxygen/ paludis.tag
+CLEANFILES = *~ doxygen/* paludis.tag
MAINTAINERCLEANFILES = Makefile.in doxygen.conf $(tagfiles)
diff --git a/doc/api/python/Makefile.am b/doc/api/python/Makefile.am
index e412f64..d55af0b 100644
--- a/doc/api/python/Makefile.am
+++ b/doc/api/python/Makefile.am
@@ -1,8 +1,24 @@
SUBDIRS = .
-CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda
+CLEANFILES = *~ epydoc/*
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 \
+ $(top_builddir)/python/paludis.so
+
+else
+
+epydoc :
+ @echo "You don't have python turned on!"
+ exit 1
+
+endif
+
+
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
diff --git a/doc/epydoc.css b/doc/api/python/epydoc.css
index 71740ea..71740ea 100644
--- a/doc/epydoc.css
+++ b/doc/api/python/epydoc.css