Commit eb732fb5 authored by Michael Hanselmann's avatar Michael Hanselmann

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:
$(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/*' | \
......
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