diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-02-27 17:06:19 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-02-27 17:06:19 +0000 |
commit | a842159612a61b8e0fbca677a1cd7f0814840473 (patch) | |
tree | 1fd0a2f36618014e51a4a82a7ed14a826412c003 | |
parent | b321a95d25c8a6761c878fa3f12275c530bd2430 (diff) |
Implemented Cactus/1413
Erik Schnetters suggestion to have a file which can be updated to force
rebuilds when e.g. the CST perl scripts are changed. Unfortunately, this
now means that everyones configurations need to be rebuilt.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3156 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | lib/make/force-rebuild | 9 | ||||
-rw-r--r-- | lib/make/make.configuration | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/make/force-rebuild b/lib/make/force-rebuild new file mode 100644 index 00000000..12589498 --- /dev/null +++ b/lib/make/force-rebuild @@ -0,0 +1,9 @@ +# /*@@ +# @file force-rebuild +# @date Thu Feb 27 18:46:51 2003 +# @author Gabrielle Allen +# @desc +# Timestamp file for forcing rebuilds of configurations +# @enddesc +# @version $Id: force-rebuild,v 1.1 2003-02-27 17:06:19 allen Exp $ +# @@*/ diff --git a/lib/make/make.configuration b/lib/make/make.configuration index 23e59c52..acfc4044 100644 --- a/lib/make/make.configuration +++ b/lib/make/make.configuration @@ -143,7 +143,7 @@ include $(CONFIG)/make.config.deps # Rule to build the make.thornlist file from the ThornList file -$(CONFIG)/make.thornlist: $(TOP)/ThornList $(foreach lib, $(CCTK_HOME)/src $(THORNS:%=$(PACKAGE_DIR)/%), $(lib)/param.ccl $(lib)/interface.ccl $(lib)/schedule.ccl) $(CONFIG_THORNS:%=$(PACKAGE_DIR)/%/configuration.ccl) +$(CONFIG)/make.thornlist: $(TOP)/ThornList $(foreach lib, $(CCTK_HOME)/src $(THORNS:%=$(PACKAGE_DIR)/%), $(lib)/param.ccl $(lib)/interface.ccl $(lib)/schedule.ccl) $(CONFIG_THORNS:%=$(PACKAGE_DIR)/%/configuration.ccl) $(CCTK_HOME)/lib/make/force-rebuild if [ -r $@ ] ; then echo Reconfiguring thorns ; rm $@ ;\ else echo Processing CCL files ; fi $(PERL) -s $(CST) -config_dir=$(CONFIG) -cctk_home=$(CCTK_HOME) -top=$(TOP) $< |