diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-11 08:47:41 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-11 08:48:07 +0000 |
commit | 0a3e9cacd7ca2feb91bae23b0c678d5e986f866f (patch) | |
tree | 321d8960d0a6711ccefdc12b759cfa890c4d93f2 /GNUmakefile | |
parent | 37687e027233072582c28bdd1530047a40ef7869 (diff) | |
download | rainbows-0a3e9cacd7ca2feb91bae23b0c678d5e986f866f.tar.gz |
Rubinius still has a few issues that prevent 100% support, but it basically works if log rotation or USR2 upgrades aren't required. Tickets for all known issues for Rubinius have been filed on the project's issue tracker. * rbx does not support -i/-p yet, so rely on MRI for that * "io/nonblock" is missing * avoiding any optional Gems for now (EM, Rev, etc..)
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 32a1b8c..2474db8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,5 +1,6 @@ # use GNU Make to run tests in parallel, and without depending on RubyGems all:: +MRI = ruby RUBY = ruby RAKE = rake RSYNC = rsync @@ -15,6 +16,7 @@ endif ifeq ($(RUBY_VERSION),) RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION') endif +RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))') base_bins := rainbows bins := $(addprefix bin/, $(base_bins)) @@ -91,16 +93,16 @@ doc: .document NEWS ChangeLog < $${i}_1.html > tmp && mv tmp $${i}_1.html; \ ln $${i}_1.html $${i}.1.html; \ done - $(RUBY) -i -p -e \ + $(MRI) -i -p -e \ '$$_.gsub!("</title>",%q{\&$(call atom,$(cgit_atom))})' \ doc/ChangeLog.html - $(RUBY) -i -p -e \ + $(MRI) -i -p -e \ '$$_.gsub!("</title>",%q{\&$(call atom,$(news_atom))})' \ doc/NEWS.html doc/README.html $(RAKE) -s news_atom > doc/NEWS.atom.xml cd doc && ln README.html tmp && mv tmp index.html $(MAKE) -C Documentation comparison.html - $(RUBY) -i -p -e \ + $(MRI) -i -p -e \ '$$_.gsub!(/INCLUDE/){File.read("Documentation/comparison.html")}' \ doc/Summary.html cat Documentation/comparison.css >> doc/rdoc.css |