diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-09-14 15:02:17 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-09-14 15:02:17 +0000 |
commit | bb4caf8f022cdef41fe06a050b3bd6c879b92edf (patch) | |
tree | 370ea8b1ba260a14515b4c49771ad0022738eab5 /Makefile | |
parent | 29309d0b6368a27908dd3f530165fbf0ed55b63a (diff) |
Bugfix from Carsten Schneemann: properly substitute the configuration name
when configuring a configuration with
make <config>-config THORNLIST=<thornlist>
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4126 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 \ |