summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2009-02-10 22:53:25 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2009-02-10 22:53:25 +0000
commit001b032b2d5bc245b6453390faa3b025ddd0f7b8 (patch)
treeced6a4ac471ccda2738440e9ad7c12e7d15e33f2 /Makefile
parente7650cc95121d3cda73dbf6f31965dd585230ef7 (diff)
Allow absolute paths in THORNLIST
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4549 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-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