about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
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: