From 0f125ab402fbfda6cf97d0f5de9ac280df0b2de8 Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 15 Jul 2008 21:18:40 +0000 Subject: Correct the make *-cvsupdate makefile goals for backwards compatibility. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4498 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 64f8f0fe..45741a27 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.176 2008-06-17 17:13:10 tradke Exp $ +# @version $Id: Makefile,v 1.177 2008-07-15 21:18:40 schnetter Exp $ # @@*/ ################################################################################## @@ -1206,26 +1206,24 @@ ifneq ($strip($(CONFIGURATIONS)),) $(addsuffix -cvsupdate,$(CONFIGURATIONS)): @echo $(DIVIDER) - @echo Updating files for configuration $(@:%-update=%) - if test -r $(CONFIGS_DIR)/$(@:%-update=%)/ThornList ; then \ - $(PERL) -s lib/sbin/CVSUpdate.pl arrangements $(CONFIGS_DIR)/$(@:%-update=%)/ThornList; \ - cd $(CCTK_HOME); \ + @echo Updating files for configuration $(@:%-cvsupdate=%) + if test -r $(CONFIGS_DIR)/$(@:%-cvsupdate=%)/ThornList ; then \ + $(PERL) -s lib/sbin/CVSUpdate.pl arrangements $(CONFIGS_DIR)/$(@:%-cvsupdate=%)/ThornList; \ fi - @echo " Done." + @echo Done. $(addsuffix -update,$(CONFIGURATIONS)): @echo $(DIVIDER) @echo Updating files for configuration $(@:%-update=%) if test -r $(CONFIGS_DIR)/$(@:%-update=%)/ThornList ; then \ $(PERL) -s lib/sbin/CVSUpdate.pl arrangements $(CONFIGS_DIR)/$(@:%-update=%)/ThornList; \ - cd $(CCTK_HOME); \ fi - @echo " Done." + @echo Done. endif %-cvsupdate: @echo $(DIVIDER) - @echo Configuration $(@:%-update=%) does not exist. + @echo Configuration $(@:%-cvsupdate=%) does not exist. @echo CVS Update aborted. %-update: -- cgit v1.2.3