Hide the Makefile buildhash rule verbosity

This commit is contained in:
evandrocoan 2020-03-01 22:35:25 -03:00
parent 8960d12aac
commit 598897e82b

View file

@ -41,7 +41,7 @@ pyenv:
# update build hash # update build hash
.PHONY: buildhash .PHONY: buildhash
buildhash: buildhash:
oldhash=$$(test -f meta/buildhash && cat meta/buildhash || true); \ @oldhash=$$(test -f meta/buildhash && cat meta/buildhash || true); \
newhash=$$(git rev-parse --short=8 HEAD || echo dev); \ newhash=$$(git rev-parse --short=8 HEAD || echo dev); \
if [ "$$oldhash" != "$$newhash" ]; then \ if [ "$$oldhash" != "$$newhash" ]; then \
echo $$newhash > meta/buildhash; \ echo $$newhash > meta/buildhash; \