Revision 975e07c6
b/Makefile.am | ||
---|---|---|
330 | 330 |
.PHONY: apidoc |
331 | 331 |
apidoc: |
332 | 332 |
test -e doc/api || mkdir doc/api |
333 |
TMPDIR=`mktemp -d ./temp-epydoc.XXXXXX` && { \
|
|
333 |
TMPDIR=`mktemp -d ` && { \ |
|
334 | 334 |
cp -r scripts daemons lib $$TMPDIR && \ |
335 | 335 |
( \ |
336 |
CDIR=`pwd` && \ |
|
336 | 337 |
cd $$TMPDIR && \ |
337 | 338 |
mv lib ganeti && \ |
338 |
epydoc --conf ../epydoc.conf \
|
|
339 |
epydoc --conf $$CDIR/epydoc.conf -o $$CDIR/doc/api \
|
|
339 | 340 |
) ; \ |
340 | 341 |
rm -rf $$TMPDIR ; \ |
341 | 342 |
} |
b/epydoc.conf | ||
---|---|---|
4 | 4 |
url: http://code.google.com/p/ganeti/ |
5 | 5 |
|
6 | 6 |
output: html |
7 |
target: ../doc/api |
|
8 | 7 |
|
9 | 8 |
# note: the wildcards means the directories should be cleaned up after each |
10 | 9 |
# run, otherwise there will be stale '*c' (compiled) files that will not be |
Also available in: Unified diff