From eb732fb5d623e7a05b14b6d38417c506d7d36b3e Mon Sep 17 00:00:00 2001 From: Michael Hanselmann Date: Wed, 27 Jan 2010 18:02:58 +0100 Subject: [PATCH] Makefile.am: Targets used directly should depend on BUILT_SOURCES Signed-off-by: Michael Hanselmann Reviewed-by: Iustin Pop --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9cb72a1e8..f4d348c40 100644 --- a/Makefile.am +++ b/Makefile.am @@ -484,7 +484,7 @@ check-local: $(CHECK_PYTHON_CODE) $(check_python_code) .PHONY: lint -lint: ganeti +lint: ganeti $(BUILT_SOURCES) @test -n "$(PYLINT)" || { echo 'pylint' not found during configure; exit 1; } $(PYLINT) $(LINT_OPTS) $(lint_python_code) @@ -513,14 +513,14 @@ stamp-directories: Makefile touch $@ .PHONY: apidoc -apidoc: epydoc.conf $(RUN_IN_TEMPDIR) +apidoc: epydoc.conf $(RUN_IN_TEMPDIR) $(BUILT_SOURCES) test -e doc/api || mkdir doc/api $(RUN_IN_TEMPDIR) epydoc -v \ --conf $(CURDIR)/epydoc.conf \ --output $(CURDIR)/doc/api .PHONY: TAGS -TAGS: +TAGS: $(BUILT_SOURCES) rm -f TAGS find . -path './lib/*.py' -o -path 'scripts/gnt-*' -o \ -path 'daemons/ganeti-*' -o -path 'tools/*' | \ -- GitLab