diff options
author | Justin Clark-Casey (justincc) | 2009-09-03 19:10:04 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-03 19:10:04 +0100 |
commit | 87ec14c5dc9cbb3139e6bf56c1ff12f5b0108639 (patch) | |
tree | bef580efe4cb2c12ba9e14b2172f3d8f8a5799d1 | |
parent | MSSQL Minor tweak to recent patch for region loading (Thanks Grumly57 for spo... (diff) | |
parent | making Makefile a bit more robust: can now cope with missing ruby in a (diff) | |
download | opensim-SC-87ec14c5dc9cbb3139e6bf56c1ff12f5b0108639.zip opensim-SC-87ec14c5dc9cbb3139e6bf56c1ff12f5b0108639.tar.gz opensim-SC-87ec14c5dc9cbb3139e6bf56c1ff12f5b0108639.tar.bz2 opensim-SC-87ec14c5dc9cbb3139e6bf56c1ff12f5b0108639.tar.xz |
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,4 +1,14 @@ | |||
1 | NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) | 1 | # hey, emacs! this is a -*- makefile -*- |
2 | # | ||
3 | # OpenSim makefile | ||
4 | # | ||
5 | |||
6 | RUBY = $(strip $(shell which ruby 2>/dev/null)) | ||
7 | ifeq ($(RUBY),) | ||
8 | NANT = nant | ||
9 | else | ||
10 | NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) | ||
11 | endif | ||
2 | 12 | ||
3 | all: prebuild | 13 | all: prebuild |
4 | # @export PATH=/usr/local/bin:$(PATH) | 14 | # @export PATH=/usr/local/bin:$(PATH) |
@@ -14,7 +24,7 @@ prebuild: | |||
14 | 24 | ||
15 | clean: | 25 | clean: |
16 | # @export PATH=/usr/local/bin:$(PATH) | 26 | # @export PATH=/usr/local/bin:$(PATH) |
17 | ${NANT} clean | 27 | -${NANT} clean |
18 | 28 | ||
19 | test: prebuild | 29 | test: prebuild |
20 | ${NANT} test | 30 | ${NANT} test |