diff options
| author | Tony Garnock-Jones <tonyg@lshift.net> | 2009-12-01 16:14:01 +0000 |
|---|---|---|
| committer | Tony Garnock-Jones <tonyg@lshift.net> | 2009-12-01 16:14:01 +0000 |
| commit | e0db1ab53353c5f08a958c58db1a4e62b0ba58ae (patch) | |
| tree | cccf79353d75ec6f22faf1d279e5f78241882fc7 /Makefile | |
| parent | eab18481fa7c4790fa435af97a9c487204820ebf (diff) | |
| parent | 3bc4d27f0b3df7c98e16a7a2b121dbc22461dd20 (diff) | |
| download | rabbitmq-server-git-e0db1ab53353c5f08a958c58db1a4e62b0ba58ae.tar.gz | |
Merge default into amqp_0_9_1
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -15,7 +15,20 @@ TARGETS=$(EBIN_DIR)/rabbit.app $(BEAM_TARGETS) WEB_URL=http://stage.rabbitmq.com/ MANPAGES=$(patsubst %.pod, %.gz, $(wildcard docs/*.[0-9].pod)) +ifeq ($(shell python -c 'import simplejson' 2>/dev/null && echo yes),yes) PYTHON=python +else +ifeq ($(shell python2.6 -c 'import simplejson' 2>/dev/null && echo yes),yes) +PYTHON=python2.6 +else +ifeq ($(shell python2.5 -c 'import simplejson' 2>/dev/null && echo yes),yes) +PYTHON=python2.5 +else +# Hmm. Missing simplejson? +PYTHON=python +endif +endif +endif BASIC_PLT=basic.plt RABBIT_PLT=rabbit.plt |
