Revision 7cf58cad Makefile.am

b/Makefile.am
357 357
	lib/utils/wrapper.py \
358 358
	lib/utils/x509.py
359 359

  
360
docrst = \
360
docinput = \
361
	doc/conf.py \
362
	doc/css/style.css \
361 363
	doc/admin.rst \
362 364
	doc/cluster-merge.rst \
363 365
	doc/design-2.0.rst \
......
583 585
# has to exist in order for the sphinx module to be loaded
584 586
# successfully, but we certainly don't want the docs to be rebuilt if
585 587
# it changes
586
doc/html/index.html: $(docrst) doc/conf.py configure.ac \
588
doc/html/index.html: $(docinput) doc/conf.py configure.ac \
587 589
	$(RUN_IN_TEMPDIR) lib/build/sphinx_ext.py \
588 590
	lib/build/shell_example_lexer.py lib/opcodes.py lib/ht.py \
589 591
	doc/css/style.css \
......
596 598
	    -D version="$(VERSION_MAJOR).$(VERSION_MINOR)" \
597 599
	    -D release="$(PACKAGE_VERSION)" \
598 600
	    -D graphviz_dot="$(DOT)" \
599
	    $(abs_top_srcdir)/doc $(CURDIR)/doc/html
601
	    $(abs_top_builddir)/doc $(CURDIR)/doc/html
600 602
	rm -f doc/html/.buildinfo doc/html/objects.inv
601 603
	touch $@
602 604

  
......
814 816
	devel/webserver \
815 817
	tools/kvm-ifup.in \
816 818
	tools/vcluster-setup.in \
817
	$(docrst) \
818
	doc/conf.py \
819
	doc/css/style.css \
819
	$(docinput) \
820 820
	doc/html \
821 821
	$(BUILT_EXAMPLES:%=%.in) \
822 822
	doc/examples/ganeti.default \
......
1121 1121
	test/hs/offline-test.sh \
1122 1122
	test/hs/cli-tests-defs.sh \
1123 1123
	$(all_python_code) \
1124
	$(HS_LIBTEST_SRCS) $(HS_PROG_SRCS)
1124
	$(HS_LIBTEST_SRCS) $(HS_PROG_SRCS) \
1125
	$(docinput)
1125 1126

  
1126 1127
check_python_code = \
1127 1128
	$(BUILD_BASH_COMPLETION) \

Also available in: Unified diff