]> matita.cs.unibo.it Git - helm.git/commitdiff
bla bla bla fallback
authorEnrico Tassi <enrico.tassi@inria.fr>
Thu, 30 Aug 2007 13:12:37 +0000 (13:12 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Thu, 30 Aug 2007 13:12:37 +0000 (13:12 +0000)
helm/software/matita/template_makefile_devel.in

index 1c0b1687b8512e86f52f4515e66f658e6f7a5f7b..98b7c1f209f1a2a64978dc0c03d03a90cd217cec 100644 (file)
@@ -1,6 +1,6 @@
 H=@
 
-RT_BASEDIR=@MATITA_RT_BASE_DIR@/
+RT_BASEDIR=$(shell if [ -x "@MATITA_RT_BASE_DIR@/matitamake" -o -x "@MATITA_RT_BASE_DIR@/matitamake.opt" ]; then echo "@MATITA_RT_BASE_DIR@"; else echo ""; fi)
 OPTIONS=-bench
 MMAKE=$(RT_BASEDIR)matitamake $(OPTIONS)
 CLEAN=$(RT_BASEDIR)matitaclean $(OPTIONS)