[cig-commits] [commit] QA: build: Remove backup Makefile targets. (f3c4b21)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Jan 17 04:27:42 PST 2014


Repository : ssh://geoshell/specfem3d

On branch  : QA
Link       : https://github.com/geodynamics/specfem3d/compare/6c327a1cde359cefa65f66e5b7981bfe995f92e3...4359ed56c14ef8f87387f46c8b705a1d395a40ba

>---------------------------------------------------------------

commit f3c4b21169e27b260155d5c3acbb1c16928acf85
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date:   Fri Jan 10 19:29:34 2014 -0500

    build: Remove backup Makefile targets.
    
    These commands are a relic of a non-distributed VCS. Now, if you need to
    backup your work, just make a commit. No-one else has to see it, but
    it's a lot safer that way. And if you don't want to go through the
    trouble of a commit, just run `git stash` instead.


>---------------------------------------------------------------

f3c4b21169e27b260155d5c3acbb1c16928acf85
 Makefile.in                        | 7 +------
 src/generate_databases/Makefile.in | 5 -----
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b242fb9..c27202c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -51,7 +51,7 @@ AR = ar
 ARFLAGS = cru
 RANLIB = ranlib
 
-##.PHONY: clean default all backup bak generate_databases specfem3D meshfem3D
+##.PHONY: clean default all generate_databases specfem3D meshfem3D
 
 ####
 #### targets
@@ -80,11 +80,6 @@ all: default \
 
 required: bin lib obj
 
-backup:
-	cp -rp src DATA Makefile go_generate_databases* go_mesher* go_solver* mymachines bak
-
-bak: backup
-
 mesh : meshfem3D
 gen : generate_databases
 spec : specfem3D
diff --git a/src/generate_databases/Makefile.in b/src/generate_databases/Makefile.in
index 88b5fe2..0f6c8aa 100644
--- a/src/generate_databases/Makefile.in
+++ b/src/generate_databases/Makefile.in
@@ -181,11 +181,6 @@ default: $(DEFAULT)
 
 all: clean default
 
-backup:
-	cp *f90 *h README_SPECFEM3D DATA/Par_file* Makefile go_generate_databases* go_mesher* go_solver* mymachines bak
-
-bak: backup
-
 generate_databases: xgenerate_databases
 
 



More information about the CIG-COMMITS mailing list