Commit eb732fb5 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile.am: Targets used directly should depend on BUILT_SOURCES


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 9b3b6845
...@@ -484,7 +484,7 @@ check-local: ...@@ -484,7 +484,7 @@ check-local:
$(CHECK_PYTHON_CODE) $(check_python_code) $(CHECK_PYTHON_CODE) $(check_python_code)
.PHONY: lint .PHONY: lint
lint: ganeti lint: ganeti $(BUILT_SOURCES)
@test -n "$(PYLINT)" || { echo 'pylint' not found during configure; exit 1; } @test -n "$(PYLINT)" || { echo 'pylint' not found during configure; exit 1; }
$(PYLINT) $(LINT_OPTS) $(lint_python_code) $(PYLINT) $(LINT_OPTS) $(lint_python_code)
...@@ -513,14 +513,14 @@ stamp-directories: Makefile ...@@ -513,14 +513,14 @@ stamp-directories: Makefile
touch $@ touch $@
.PHONY: apidoc .PHONY: apidoc
apidoc: epydoc.conf $(RUN_IN_TEMPDIR) apidoc: epydoc.conf $(RUN_IN_TEMPDIR) $(BUILT_SOURCES)
test -e doc/api || mkdir doc/api test -e doc/api || mkdir doc/api
$(RUN_IN_TEMPDIR) epydoc -v \ $(RUN_IN_TEMPDIR) epydoc -v \
--conf $(CURDIR)/epydoc.conf \ --conf $(CURDIR)/epydoc.conf \
--output $(CURDIR)/doc/api --output $(CURDIR)/doc/api
.PHONY: TAGS .PHONY: TAGS
TAGS: TAGS: $(BUILT_SOURCES)
rm -f TAGS rm -f TAGS
find . -path './lib/*.py' -o -path 'scripts/gnt-*' -o \ find . -path './lib/*.py' -o -path 'scripts/gnt-*' -o \
-path 'daemons/ganeti-*' -o -path 'tools/*' | \ -path 'daemons/ganeti-*' -o -path 'tools/*' | \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment