Fix current directory in Makefile

This commit is contained in:
Armin Friedl 2019-11-30 20:15:00 +01:00
parent 1c7af47476
commit a7ad7bc51c
Signed by: armin
GPG key ID: 48C726EEE7FBCBC8

View file

@ -1,3 +1,5 @@
CURDIR=$(shell pwd)
default:
cargo build
@ -6,6 +8,6 @@ release:
publish:
docker pull clux/muslrust
docker run -v $PWD:/volume --rm -t clux/muslrust cargo build --release
docker run -v $(CURDIR):/volume --rm -t clux/muslrust cargo build --release
.PHONY: default release publish