summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6d2b6f08..7ae6f687 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.181 2009-02-03 03:19:19 schnetter Exp $
+# @version $Id: Makefile,v 1.182 2009-02-10 22:53:25 schnetter Exp $
# @@*/
################################################################################
@@ -64,9 +64,13 @@ endif
export TPARFLAGS FPARFLAGS
# Directory for configuration options
+# Set THORNLIST_DIR to "." if it is not set already, and if THORNLIST
+# does not contain an absolute patch (starting with a slash)
ifeq ($(strip $(THORNLIST_DIR)), )
+ifeq ($(shell echo $(THORNLIST) | grep '^/'), )
THORNLIST_DIR = "."
endif
+endif
# End of parallel make stuff