Merge pull request #1795 from afbjorklund/prefix

Use standard Makefile install variables
v0.8
Tõnis Tiigi 2020-11-14 21:33:43 -08:00 committed by GitHub
commit c70058095b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
DESTDIR=/usr/local
prefix=/usr/local
bindir=$(prefix)/bin
binaries: FORCE
hack/binaries
@ -8,8 +9,8 @@ images: FORCE
hack/images local moby/buildkit
install: FORCE
mkdir -p $(DESTDIR)/bin
install bin/* $(DESTDIR)/bin
mkdir -p $(DESTDIR)$(bindir)
install bin/* $(DESTDIR)$(bindir)
clean: FORCE
rm -rf ./bin