From d88a980e869979520467847b43e64ee57d3102ef Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 27 Nov 2014 21:37:34 -0200 Subject: [PATCH] fix update target --- Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index bc94685..e6ae3e4 100644 --- a/Makefile +++ b/Makefile @@ -18,16 +18,10 @@ install: all cp -r .bundle $(DESTDIR)$(PREFIX)/lib/gitlab/.bundle cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle -update: clean bundle - -bundle: - bundle install $(BUNDLE_OPTS) --path vendor/bundle - -update-gemfiles: +update: clean $(WGET) -O Gemfile https://gitlab.com/gitlab-org/gitlab-ce/raw/$(GITLAB_BRANCH)/Gemfile - $(WGET) -O Gemfile.lock https://gitlab.com/gitlab-org/gitlab-ce/raw/$(GITLAB_BRANCH)/Gemfile.lock - git add Gemfile* - git commit Gemfile* -m 'update Gemfile*' + $(RM) Gemfile.lock + bundle install $(BUNDLE_OPTS) --path vendor/bundle clean: $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) -- libgit2 0.21.2