Commit c12c0b056e72319bcdcf8f1e8d587e25636f059a

Authored by Antonio Terceiro
1 parent 78efc270
Exists in master and in 1 other branch gitlab-8.x

Makefile: fix install target

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
1 VERSION = 7.5 1 VERSION = 7.5
2 TARBALL = gitlab-deps-$(VERSION).tar.gz 2 TARBALL = gitlab-deps-$(VERSION).tar.gz
  3 +PREFIX = /usr
3 WGET = wget 4 WGET = wget
4 GITLAB_BRANCH = 7-5-stable 5 GITLAB_BRANCH = 7-5-stable
5 BUNDLE_OPTS = --verbose --without='development test' 6 BUNDLE_OPTS = --verbose --without='development test'
@@ -13,8 +14,8 @@ $(TARBALL): @@ -13,8 +14,8 @@ $(TARBALL):
13 (git archive --prefix=gitlab-deps-$(VERSION)/ HEAD | gzip > $@) || ($(RM) $@; false) 14 (git archive --prefix=gitlab-deps-$(VERSION)/ HEAD | gzip > $@) || ($(RM) $@; false)
14 15
15 install: all 16 install: all
16 - mkdir -p $(DESTDIR)$(PREFIX)/lib/gitlab/vendor  
17 - $(RM) -r $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle 17 + mkdir -p $(DESTDIR)$(PREFIX)/lib/gitlab/vendor
  18 + cp -r .bundle $(DESTDIR)$(PREFIX)/lib/gitlab/.bundle
18 cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle 19 cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle
19 20
20 update: clean bundle 21 update: clean bundle