Revision 2d1f248e Makefile.am

b/Makefile.am
97 97
	ganeti \
98 98
	stamp-srclinks \
99 99
	stamp-directories \
100
	lib/_autoconf.py
100
	lib/_autoconf.py \
101
	$(PYTHON_BOOTSTRAP)
102

  
103
$(RUN_IN_TEMPDIR): $(BUILT_SOURCES)
101 104

  
102 105
nodist_pkgpython_PYTHON = \
103 106
	lib/_autoconf.py
......
204 207
	doc/security.rst \
205 208
	doc/walkthrough.rst
206 209

  
207
doc/html/.stamp: $(docrst) $(docpng) doc/conf.py configure.ac
210
doc/html/.stamp: $(docrst) $(docpng) doc/conf.py configure.ac $(RUN_IN_TEMPDIR)
208 211
	@test -n "$(SPHINX)" || \
209 212
	    { echo 'sphinx-build' not found during configure; exit 1; }
210 213
	PYTHONPATH=. $(RUN_IN_TEMPDIR) $(SPHINX) -q -W -b html \
......
630 633

  
631 634
$(PYTHON_BOOTSTRAP): Makefile
632 635
	set -e; \
636
	test -e $(dir $@) || mkdir $(dir $@); \
633 637
	module='$(subst -,_,$(notdir $@))'; \
634 638
	{ echo '#!/usr/bin/python'; \
635 639
	  echo '# This file is automatically generated, do not edit!'; \
......
748 752
.PHONY: coverage
749 753
coverage: $(BUILT_SOURCES) $(python_tests)
750 754
	set -e; \
751
	mkdir -p doc/coverage; \
755
	@mkdir_p@ doc/coverage; \
752 756
	COVERAGE_FILE=$(CURDIR)/doc/coverage/data \
753 757
	TEXT_COVERAGE=$(CURDIR)/doc/coverage/report.txt \
754 758
	HTML_COVERAGE=$(CURDIR)/doc/coverage \

Also available in: Unified diff