提交 adb0749f 编写于 作者: C Cleber Rosa

Makefile: document and shorten the name of requirements targets

Again, let's short target names. It helps with typing and makes the
documentation fit better most screens.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 b4aeec81
......@@ -26,6 +26,10 @@ all:
@echo "check: Runs tree static check, unittests and functional tests"
@echo "clean: Get rid of scratch and byte files"
@echo
@echo "Package requirements related targets"
@echo "requirements: Install runtime requirements"
@echo "requirements-selftests: Install runtime and selftests requirements"
@echo
@echo "Platform independent distribution/installtion related targets:"
@echo "source: Create source package"
@echo "install: Install on local system"
......@@ -105,11 +109,11 @@ clean:
do AVOCADO_DIRNAME=$(AVOCADO_DIRNAME) make -C $$MAKEFILE unlink &>/dev/null && echo ">> UNLINK $$MAKEFILE" || echo ">> SKIP $$MAKEFILE";\
done
install-requirements:
requirements:
- if $$(python -V 2>&1 | grep 2.6 -q); then grep -v '^#' requirements-python26.txt | xargs -n 1 pip install --upgrade; fi
- grep -v '^#' requirements.txt | xargs -n 1 pip install --upgrade
install-requirements-selftests: install-requirements
requirements-selftests: requirements
- grep -v '^#' requirements-selftests.txt | xargs -n 1 pip install --upgrade
check: clean check_cyclical modules_boundaries
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册