diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-02 10:52:04 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-02 10:52:04 -0700 |
commit | 9457a111cfb908af5049c0ca1c4b9a64b458f991 (patch) | |
tree | d3a15a4eb60b8b9ece57242fa17391eb6eb541d6 /GNUmakefile | |
parent | 03f3d6d452aff584f050c5789180324e5fef4751 (diff) | |
download | unicorn-9457a111cfb908af5049c0ca1c4b9a64b458f991.tar.gz |
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.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 10 |
1 files 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: |