enhancing Makefile to avoid colorification when running inside emacs...
This commit is contained in:
11
Makefile
11
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user