[cig-commits] r14693 - mc/1D/hc/trunk
walter at geodynamics.org
walter at geodynamics.org
Tue Apr 14 11:19:09 PDT 2009
Author: walter
Date: 2009-04-14 11:19:09 -0700 (Tue, 14 Apr 2009)
New Revision: 14693
Modified:
mc/1D/hc/trunk/Makefile
mc/1D/hc/trunk/make_binary_package
Log:
Add a missing file to the binary package, and make the executable not depend on where it was built
Modified: mc/1D/hc/trunk/Makefile
===================================================================
--- mc/1D/hc/trunk/Makefile 2009-04-14 17:37:26 UTC (rev 14692)
+++ mc/1D/hc/trunk/Makefile 2009-04-14 18:19:09 UTC (rev 14693)
@@ -63,7 +63,7 @@
PREM_SRCS = prem_util.c
PREM_OBJS = $(ODIR)/prem_util.o
# default PREM model file
-PREM_DEFINES = -DPREM_MODEL_FILE=\"$(PWD)/prem/prem.dat\"
+PREM_DEFINES = -DPREM_MODEL_FILE=\"prem/prem.dat\"
PREM_INCS = prem.h
#
# GMT grd handling, now includes PREM stuff
Modified: mc/1D/hc/trunk/make_binary_package
===================================================================
--- mc/1D/hc/trunk/make_binary_package 2009-04-14 17:37:26 UTC (rev 14692)
+++ mc/1D/hc/trunk/make_binary_package 2009-04-14 18:19:09 UTC (rev 14693)
@@ -19,7 +19,7 @@
CFLAGS="-O2" make all
mkdir "$dest"
-cp README.TXT calc_vel_and_plot "$dest"
+cp README.TXT calc_vel_and_plot dens.sh.dat "$dest"
mkdir "$dest/example_data" "$dest/prem" "$dest/bin"
cp bin/$ARCH/* "$dest/bin"
strip "$dest/bin/"*
More information about the CIG-COMMITS
mailing list