diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -24,11 +24,16 @@ RSYNC_FLAGS ?= CARGO ?= cargo GIT ?= git RSYNC ?= rsync -INSTALL ?= install TAR ?= tar XZ ?= xz GPG ?= gpg +ifeq ($(shell uname -s), Darwin) + INSTALL ?= ginstall +else + INSTALL ?= install +endif + VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' Cargo.toml | cut -d'"' -f2) # Make sure subprocesses pick these up. |