diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-16 16:23:11 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-16 16:23:11 -0700 |
commit | 9da62033ed441fa20fd8651bdd46b64187582ac7 (patch) | |
tree | afd495ee9b0e40eb86e1d14f91cb34c8076ed63d | |
parent | e7545e6366aefecca9f8bf1483a5777ed9f101b6 (diff) | |
download | unicorn-9da62033ed441fa20fd8651bdd46b64187582ac7.tar.gz |
-rw-r--r-- | GNUmakefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile index 4774437..d309cdb 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -32,23 +32,23 @@ inst_deps := $(wildcard bin/*) $(wildcard lib/*.rb) \ ext/unicorn/http11/http11_parser.c: ext/unicorn/http11/http11_parser.rl cd $(@D) && ragel $(<F) -C -G2 -o $(@F) -ext/unicorn/http11/Makefile: ext/unicorn/http11/extconf.rb +ext/unicorn/http11/Makefile: ext/unicorn/http11/extconf.rb $(http11_deps) cd $(@D) && $(ruby) $(<F) -ext/unicorn/http11/http11.$(DLEXT): $(http11_deps) ext/unicorn/http11/Makefile +ext/unicorn/http11/http11.$(DLEXT): ext/unicorn/http11/Makefile $(MAKE) -C $(@D) lib/unicorn/http11.$(DLEXT): ext/unicorn/http11/http11.$(DLEXT) @mkdir -p lib install -m644 $< $@ http11: lib/unicorn/http11.$(DLEXT) -$(test_prefix)/.stamp: $(inst_deps) - $(MAKE) clean-http11 - $(MAKE) install-test +$(test_prefix)/.stamp: install-test > $@ -install-test: +install-test: $(inst_deps) + test -n "$(test_prefix)" mkdir -p $(test_prefix)/.ccache tar c bin ext lib GNUmakefile | (cd $(test_prefix) && tar x) + $(MAKE) -C $(test_prefix) clean $(MAKE) -C $(test_prefix) http11 shebang # this is only intended to be run within $(test_prefix) |