Commit 257fe7c4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge branch 'destdir' into 'master'

Add DESTDIR support to "make install"

Fixes https://gitlab.com/gitlab-org/gitlab-workhorse/issues/8

See merge request !27
parents 4464eb25 34a9138d
......@@ -14,7 +14,8 @@ gitlab-workhorse: $(shell find . -name '*.go')
${GOBUILD} -o $@
install: gitlab-workhorse gitlab-zip-cat gitlab-zip-metadata
install gitlab-workhorse gitlab-zip-cat gitlab-zip-metadata ${PREFIX}/bin/
mkdir -p $(DESTDIR)${PREFIX}/bin/
install gitlab-workhorse gitlab-zip-cat gitlab-zip-metadata ${DESTDIR}${PREFIX}/bin/
.PHONY: test
test: testdata/data/group/test.git clean-workhorse all
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment