[cig-commits] r14692 - mc/1D/hc/trunk

walter at geodynamics.org walter at geodynamics.org
Tue Apr 14 10:37:26 PDT 2009


Author: walter
Date: 2009-04-14 10:37:26 -0700 (Tue, 14 Apr 2009)
New Revision: 14692

Modified:
   mc/1D/hc/trunk/make_binary_package
Log:
Make make_binary_package work out of the box on Cygwin

Modified: mc/1D/hc/trunk/make_binary_package
===================================================================
--- mc/1D/hc/trunk/make_binary_package	2009-04-14 17:13:50 UTC (rev 14691)
+++ mc/1D/hc/trunk/make_binary_package	2009-04-14 17:37:26 UTC (rev 14692)
@@ -15,14 +15,14 @@
 
 dest=../hc-$ver
 
-make clean
+rm -rf bin objects
 CFLAGS="-O2" make all
-strip bin/*
 
 mkdir "$dest"
 cp README.TXT calc_vel_and_plot "$dest"
 mkdir "$dest/example_data" "$dest/prem" "$dest/bin"
-cp bin/* "$dest/bin"
+cp bin/$ARCH/* "$dest/bin"
+strip "$dest/bin/"*
 cp example_data/* "$dest/example_data"
 cp prem/* "$dest/prem"
 mkdir "$dest/hcplates"



More information about the CIG-COMMITS mailing list