summaryrefslogtreecommitdiff
path: root/lib/make/make.configuration
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2007-08-22 17:38:57 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2007-08-22 17:38:57 +0000
commit808f352717c6a6927ac886d29fd585a394a2cf31 (patch)
treed25e2705214857c72986e937330414c4ebf1b159 /lib/make/make.configuration
parent2436bf9e051b02c254441941bd8d1910a8ea6e06 (diff)
Allow thorns to call make.configuration recursively from their
make.configuration.deps. For this, thorns have to specify a make goal with a suffix ".custom". If the make goal has the suffix ".custom", then include the thorn list definition make.thornlist. This is identical to what happens for the "utils" and "build" make goals. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4427 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.configuration')
-rw-r--r--lib/make/make.configuration4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index 9c6b0a51..bb7be9d4 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -95,6 +95,10 @@ ifeq ($(strip $(MAKECMDGOALS)), build)
-include $(CONFIG)/make.thornlist
endif
+ifeq ($(suffix $(strip $(MAKECMDGOALS))), .custom)
+-include $(CONFIG)/make.thornlist
+endif
+
# When building utility programs, include makefile definitions
# generated from a thorn's configuration.ccl
ifeq ($(strip $(UTILS)),)