Revision f774bd03

b/.gitignore
24 24
/config.log
25 25
/config.status
26 26
/configure
27
/epydoc.conf
27 28
/ganeti
28 29
/stamp-srclinks
29 30
/vcs-version
b/Makefile.am
90 90
	$(addsuffix /*.py[co],$(DIRS)) \
91 91
	$(all_dirfiles) \
92 92
	$(PYTHON_BOOTSTRAP) \
93
	epydoc.conf \
93 94
	autotools/replace_vars.sed \
94 95
	daemons/daemon-util \
95 96
	daemons/ensure-dirs \
......
371 372
EXTRA_DIST = \
372 373
	NEWS \
373 374
	UPGRADE \
375
	epydoc.conf.in \
374 376
	pylintrc \
375 377
	autotools/build-bash-completion \
376 378
	autotools/check-python-code \
......
623 625
	$(PANDOC) -s -f rst -t html -A man/footer.html $< | \
624 626
	  sed -e 's/\\@/@/g' > $@
625 627

  
626

  
627 628
man/%.7: man/%.7.in $(REPLACE_VARS_SED)
628 629
	sed -f $(REPLACE_VARS_SED) < $< > $@
629 630

  
......
633 634
man/%.html: man/%.html.in $(REPLACE_VARS_SED)
634 635
	sed -f $(REPLACE_VARS_SED) < $< > $@
635 636

  
637
epydoc.conf: epydoc.conf.in
638
	sed -e 's#@MODULES@#$(lint_python_code)#g' < $< > $@
639

  
636 640
vcs-version:
637 641
	if test -d .git; then \
638 642
	  git describe > $@; \
b/autotools/run-in-tempdir
5 5
tmpdir=$(mktemp -d -t gntbuild.XXXXXXXX)
6 6
trap "rm -rf $tmpdir" EXIT
7 7

  
8
cp -r daemons scripts lib tools test $tmpdir
8
cp -r autotools daemons scripts lib tools test $tmpdir
9 9
mv $tmpdir/lib $tmpdir/ganeti
10 10

  
11 11
cd $tmpdir && GANETI_TEMP_DIR="$tmpdir" "$@"
/dev/null
1
[epydoc]
2

  
3
name: Ganeti
4
url: http://code.google.com/p/ganeti/
5

  
6
output: html
7

  
8
# note: the wildcards means the directories should be cleaned up after each
9
# run, otherwise there will be stale '*c' (compiled) files that will not be
10
# parsable and will break the epydoc run
11
modules: ganeti, scripts/gnt-*, daemons/ganeti-confd, daemons/ganeti-masterd, daemons/ganeti-noded, daemons/ganeti-rapi, daemons/ganeti-watcher, daemons/import-export, tools/burnin, tools/cfgshell, tools/cfgupgrade, tools/cfgupgrade12, tools/check-cert-expired, tools/cluster-merge, tools/ganeti-listrunner, tools/lvmstrap, tools/move-instance, tools/sanitize-config, tools/setup-ssh
12

  
13
graph: all
14

  
15

  
16
simple-term: 1
17

  
18
docformat: epytext
19

  
20
imports: yes
21

  
22
include-log: no
23

  
24
inheritance: listed
25

  
26
parse: yes
27
introspect: no
28

  
29
fail-on: docstring_warnings
b/epydoc.conf.in
1
[epydoc]
2

  
3
name: Ganeti
4
url: http://code.google.com/p/ganeti/
5

  
6
output: html
7

  
8
# note: the wildcards means the directories should be cleaned up after each
9
# run, otherwise there will be stale '*c' (compiled) files that will not be
10
# parsable and will break the epydoc run
11
modules: @MODULES@
12

  
13
graph: all
14

  
15
simple-term: 1
16

  
17
docformat: epytext
18

  
19
imports: yes
20

  
21
include-log: no
22

  
23
inheritance: listed
24

  
25
parse: yes
26
introspect: no
27

  
28
fail-on: docstring_warnings

Also available in: Unified diff