Fixed Makefile comments showing up on the console

Makefile comments inside rules have to be put in the beginning
of the line, otherwise they are passed to shell when running the
recipe.
This commit is contained in:
evandrocoan 2020-04-24 21:48:46 -03:00
parent 8dfd362fed
commit 7099259afa

View file

@ -13,7 +13,7 @@ ifndef OS
endif endif
ifeq (${OS},Windows_NT) ifeq (${OS},Windows_NT)
# Windows terminal is confusing it with its `cmd` builtin `rename` command # Windows terminal is confusing it with its `cmd` builtin `rename` command
ifndef RENAME_BIN ifndef RENAME_BIN
RENAME_BIN := perl scripts/rename RENAME_BIN := perl scripts/rename
endif endif
@ -60,8 +60,8 @@ all: run
# - modern pip required for wheel # - modern pip required for wheel
# - add qt if missing # - add qt if missing
pyenv: pyenv:
# https://github.com/PyO3/maturin/issues/283 # https://github.com/PyO3/maturin/issues/283
# Expected `python` to be a python interpreter inside a virtualenv # Expected `python` to be a python interpreter inside a virtualenv
set -eu -o pipefail ${SHELLFLAGS}; \ set -eu -o pipefail ${SHELLFLAGS}; \
"${PYTHON_BIN}" -m pip install virtualenv; \ "${PYTHON_BIN}" -m pip install virtualenv; \
"${PYTHON_BIN}" -m venv pyenv; \ "${PYTHON_BIN}" -m venv pyenv; \