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
Makefile
1 1 VERSION = 7.5
2 2 TARBALL = gitlab-deps-$(VERSION).tar.gz
  3 +PREFIX = /usr
3 4 WGET = wget
4 5 GITLAB_BRANCH = 7-5-stable
5 6 BUNDLE_OPTS = --verbose --without='development test'
... ... @@ -13,8 +14,8 @@ $(TARBALL):
13 14 (git archive --prefix=gitlab-deps-$(VERSION)/ HEAD | gzip > $@) || ($(RM) $@; false)
14 15  
15 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 19 cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle
19 20  
20 21 update: clean bundle
... ...