From bb4caf8f022cdef41fe06a050b3bd6c879b92edf Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 14 Sep 2005 15:02:17 +0000 Subject: Bugfix from Carsten Schneemann: properly substitute the configuration name when configuring a configuration with make -config THORNLIST= git-svn-id: http://svn.cactuscode.org/flesh/trunk@4126 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5e73b02f..6d539c9b 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.169 2005-05-27 14:13:48 schnetter Exp $ +# @version $Id: Makefile,v 1.170 2005-09-14 15:02:17 tradke Exp $ # @@*/ ################################################################################## @@ -706,7 +706,7 @@ $(addsuffix -config,$(CONFIGURATIONS)): int_version fi ; \ if test -n "$(THORNS)" ; \ then \ - echo $(THORNS) >> $(CONFIGS_DIR)/$@/ThornList ; \ + echo $(THORNS) >> $(CONFIGS_DIR)/$(@:%-config=%)/ThornList ; \ fi ; \ echo $(DIVIDER) ; \ if test "x$(PROMPT)" = "xno" ; then \ @@ -747,7 +747,7 @@ endif cp $(THORNLIST_DIR)/$(THORNLIST) $(CONFIGS_DIR)/$(@:%-config=%)/ThornList;\ fi ;\ if test -n "$(THORNS)" ; then \ - echo $(THORNS) >> $(CONFIGS_DIR)/$@/ThornList ; \ + echo $(THORNS) >> $(CONFIGS_DIR)/$(@:%-config=%)/ThornList ; \ fi ; \ echo $(DIVIDER) ; \ if test "x$(PROMPT)" = "xno" ; then \ -- cgit v1.2.3