Revision f6cbcc06 Makefile.am
b/Makefile.am | ||
---|---|---|
24 | 24 |
CHECK_MAN = $(top_srcdir)/autotools/check-man |
25 | 25 |
CHECK_VERSION = $(top_srcdir)/autotools/check-version |
26 | 26 |
CHECK_NEWS = $(top_srcdir)/autotools/check-news |
27 |
CHECK_IMPORTS = $(top_srcdir)/autotools/check-imports |
|
27 | 28 |
DOCPP = $(top_srcdir)/autotools/docpp |
28 | 29 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
29 | 30 |
CONVERT_CONSTANTS = $(top_srcdir)/autotools/convert-constants |
... | ... | |
540 | 541 |
pylintrc \ |
541 | 542 |
autotools/build-bash-completion \ |
542 | 543 |
autotools/check-python-code \ |
544 |
autotools/check-imports \ |
|
543 | 545 |
autotools/check-man \ |
544 | 546 |
autotools/check-news \ |
545 | 547 |
autotools/check-tar \ |
... | ... | |
752 | 754 |
|
753 | 755 |
check_python_code = \ |
754 | 756 |
$(BUILD_BASH_COMPLETION) \ |
757 |
$(CHECK_IMPORTS) \ |
|
755 | 758 |
$(DOCPP) \ |
756 | 759 |
$(all_python_code) |
757 | 760 |
|
... | ... | |
762 | 765 |
$(dist_tools_PYTHON) \ |
763 | 766 |
$(pkglib_python_scripts) \ |
764 | 767 |
$(BUILD_BASH_COMPLETION) \ |
768 |
$(CHECK_IMPORTS) \ |
|
765 | 769 |
$(DOCPP) \ |
766 | 770 |
$(PYTHON_BOOTSTRAP) |
767 | 771 |
|
772 |
standalone_python_modules = \ |
|
773 |
lib/rapi/client.py \ |
|
774 |
tools/ganeti-listrunner |
|
775 |
|
|
768 | 776 |
test/daemon-util_unittest.bash: daemons/daemon-util |
769 | 777 |
|
770 | 778 |
test/ganeti-cleaner_unittest.bash: daemons/ganeti-cleaner |
... | ... | |
1048 | 1056 |
if test -n "$$error"; then exit 1; else exit 0; fi; \ |
1049 | 1057 |
} |
1050 | 1058 |
|
1051 |
check-local: check-dirs |
|
1059 |
.PHONY: check-local |
|
1060 |
check-local: check-dirs $(BUILT_SOURCES) |
|
1052 | 1061 |
$(CHECK_PYTHON_CODE) $(check_python_code) |
1053 | 1062 |
$(CHECK_VERSION) $(VERSION) $(top_srcdir)/NEWS |
1054 | 1063 |
$(CHECK_NEWS) < $(top_srcdir)/NEWS |
1064 |
PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(CHECK_IMPORTS) $(CURDIR) $(standalone_python_modules) |
|
1055 | 1065 |
expver=$(VERSION_MAJOR).$(VERSION_MINOR); \ |
1056 | 1066 |
if test "`head -n 1 $(top_srcdir)/README`" != "Ganeti $$expver"; then \ |
1057 | 1067 |
echo "Incorrect version in README, expected $$expver"; \ |
Also available in: Unified diff