Merge pull request #120 from andrewhsu/check-clean

check if build dir exists before chown
This commit is contained in:
Andrew Hsu
2017-07-13 22:15:52 -07:00
committed by GitHub

View File

@ -14,7 +14,7 @@ help: ## show make targets
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
clean: ## remove build artifacts
$(CHOWN) -R $(shell id -u):$(shell id -g) build
[ ! -d build ] || $(CHOWN) -R $(shell id -u):$(shell id -g) build
$(RM) -r build
static: static-linux cross-mac cross-win cross-arm ## create all static packages