diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-03-22 16:21:03 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-03-22 16:21:03 +0100 |
commit | c36dbe6eb447239824f0014ec6beae2df9f42a7c (patch) | |
tree | 62c0655c362b82b340f3084bee1d0a9ccdab8a8a /Makefile | |
parent | 6a9e2743d149fecd5d7706b273dc69a45fe25ea2 (diff) |
Fix build on macOS.
- Use GNU install, use the correct extension for dynamic libraries.
- Fixes #226.
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. |