From 001b032b2d5bc245b6453390faa3b025ddd0f7b8 Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 10 Feb 2009 22:53:25 +0000 Subject: Allow absolute paths in THORNLIST git-svn-id: http://svn.cactuscode.org/flesh/trunk@4549 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3