diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2008-07-15 21:18:40 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2008-07-15 21:18:40 +0000 |
commit | 0f125ab402fbfda6cf97d0f5de9ac280df0b2de8 (patch) | |
tree | 62e5e928436a261d3b0de16ac81cb9da17c67bb4 /Makefile | |
parent | f2f9997a856c8bed043776426408873057e76624 (diff) |
Correct the make *-cvsupdate makefile goals for backwards compatibility.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4498 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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: |