Revision 6d81475c Makefile.am
b/Makefile.am | ||
---|---|---|
11 | 11 |
|
12 | 12 |
ACLOCAL_AMFLAGS = -I autotools |
13 | 13 |
DOCBOOK_WRAPPER = $(top_srcdir)/autotools/docbook-wrapper |
14 |
BUILD_RAPI_RESOURCE_DOC = $(top_srcdir)/doc/build-rapi-resources-doc |
|
15 | 14 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
16 | 15 |
|
17 | 16 |
hypervisordir = $(pkgpythondir)/hypervisor |
... | ... | |
45 | 44 |
CLEANFILES = \ |
46 | 45 |
autotools/replace_vars.sed \ |
47 | 46 |
devel/upload \ |
48 |
doc/rapi-resources.gen \ |
|
49 | 47 |
doc/examples/bash_completion \ |
50 | 48 |
doc/examples/ganeti.initd \ |
51 | 49 |
doc/examples/ganeti.cron \ |
... | ... | |
114 | 112 |
doc/hooks.rst \ |
115 | 113 |
doc/iallocator.rst \ |
116 | 114 |
doc/install.rst \ |
115 |
doc/rapi.rst \ |
|
117 | 116 |
doc/security.rst |
118 | 117 |
|
119 | 118 |
dochtml = $(patsubst %.rst,%.html,$(docrst)) |
... | ... | |
152 | 151 |
devel/upload.in \ |
153 | 152 |
$(docrst) \ |
154 | 153 |
$(docdot) \ |
155 |
doc/build-rapi-resources-doc \ |
|
156 | 154 |
doc/examples/bash_completion.in \ |
157 | 155 |
doc/examples/ganeti.initd.in \ |
158 | 156 |
doc/examples/ganeti.cron.in \ |
... | ... | |
224 | 222 |
|
225 | 223 |
TESTS_ENVIRONMENT = PYTHONPATH=.:$(top_builddir) |
226 | 224 |
|
227 |
RAPI_RESOURCES = $(wildcard lib/rapi/*.py) |
|
228 |
|
|
229 | 225 |
all-local: stamp-directories lib/_autoconf.py devel/upload \ |
230 | 226 |
doc/examples/bash_completion \ |
231 | 227 |
doc/examples/ganeti.initd doc/examples/ganeti.cron |
... | ... | |
248 | 244 |
|
249 | 245 |
doc/design-2.0.html: doc/design-2.0.rst doc/arch-2.0.png |
250 | 246 |
|
251 |
doc/rapi.html: doc/rapi-resources.gen |
|
252 |
|
|
253 |
doc/rapi-resources.gen: $(BUILD_RAPI_RESOURCE_DOC) $(RAPI_RESOURCES) |
|
254 |
PYTHONPATH=.:$(top_builddir) $(BUILD_RAPI_RESOURCE_DOC) > $@ || \ |
|
255 |
rm -f $@ |
|
256 |
|
|
257 | 247 |
man/%.7.in man/%.8.in: man/%.sgml man/footer.sgml $(DOCBOOK_WRAPPER) |
258 | 248 |
@test -n "$(DOCBOOK2MAN)" || { echo 'docbook2html' not found during configure; exit 1; } |
259 | 249 |
TMPDIR=`mktemp -d` && { \ |
... | ... | |
281 | 271 |
|
282 | 272 |
man/footer.sgml $(TESTS): srclinks |
283 | 273 |
|
284 |
$(TESTS) $(BUILD_RAPI_RESOURCE_DOC): ganeti lib/_autoconf.py
|
|
274 |
$(TESTS): ganeti lib/_autoconf.py |
|
285 | 275 |
|
286 | 276 |
lib/_autoconf.py: Makefile stamp-directories |
287 | 277 |
set -e; \ |
Also available in: Unified diff