enhancing Makefile to avoid colorification when running inside emacs...

0.6.0-stable
Dr Scofield 2008-07-25 12:51:01 +00:00
parent f7e636570f
commit 60ed8c3822
1 changed files with 7 additions and 4 deletions

View File

@ -1,12 +1,15 @@
NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
all:
export PATH=/usr/local/bin:$(PATH)
@export PATH=/usr/local/bin:$(PATH)
./runprebuild.sh
./nant-color
${NANT}
find OpenSim -name \*.mdb -exec cp {} bin \;
clean:
export PATH=/usr/local/bin:$(PATH)
./nant-color clean
@export PATH=/usr/local/bin:$(PATH)
${NANT} clean
tags:
find OpenSim -name \*\.cs | xargs etags