From 9457a111cfb908af5049c0ca1c4b9a64b458f991 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 2 Apr 2009 10:52:04 -0700 Subject: GNUmakefile: "install" preserves unicorn_rails This is to prevent the shebang line from being clobbered by setup.rb which does the rest of the heavy lifting. While we're at it, remove the dependency on git, too. --- GNUmakefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index c5d7f02..a6adfd7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -84,11 +84,15 @@ $(T): export RUBYLIB := $(test_prefix)/lib:$(RUBYLIB) $(T): $(test_prefix)/.stamp $(run_test) -install: bin/unicorn +install: bin/unicorn bin/unicorn_rails $(prep_setup_rb) - git diff --quiet $< + $(RM) -r .install-tmp + mkdir .install-tmp + cp -p $^ .install-tmp $(ruby) setup.rb all - git checkout $< + $(RM) $^ + mv $(addprefix .install-tmp/,$(^F)) bin/ + $(RM) -r .install-tmp $(prep_setup_rb) clean-http11: -- cgit v1.2.3-24-ge0c7