summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-06-13 13:53:55 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-06-13 13:53:55 (GMT)
commit9cee5851f32106f733589ff0fd7573ac4fed297d (patch)
treed07b108af094959879f2cd13e4c467052f63f1be
parent124c299db4100ae215d0898a24e4bf963a6bfd23 (diff)
downloadhdf5-9cee5851f32106f733589ff0fd7573ac4fed297d.zip
hdf5-9cee5851f32106f733589ff0fd7573ac4fed297d.tar.gz
hdf5-9cee5851f32106f733589ff0fd7573ac4fed297d.tar.bz2
[svn-r5627] Purpose:
Bug fix Description: Old setup put $(srcdir)/h5redeploy in the install list but this same list is used for clean too, thus the file is removed from source. That is bad. Solution: Set it to use a cp to do it. Need to change the source version name to something else because for one, it is confusing to use the same name. For another, if the build is done in place (i.e., not using --srcdir), the source file is removed, again. So, renamed it with the .in suffix. Who knows, it may take more processing than just cp when more features are added to it. Platforms tested: Eirene
-rw-r--r--tools/misc/Makefile.in5
-rwxr-xr-xtools/misc/h5redeploy.in (renamed from tools/misc/h5redeploy)0
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in
index f3a4d7e..a8b624d 100644
--- a/tools/misc/Makefile.in
+++ b/tools/misc/Makefile.in
@@ -26,7 +26,7 @@ TEST_SCRIPTS=
LIBTOOLS=../lib/libh5tools.la
LIBHDF5=$(top_builddir)/src/libhdf5.la
-PUB_PROGS=h5cc h5debug h5import $(srcdir)/h5redeploy h5repart @PDB2HDF@
+PUB_PROGS=h5cc h5debug h5import h5redeploy h5repart @PDB2HDF@
PROGS=$(PUB_PROGS) $(TEST_PROGS)
## Source and object files for the library; do not install
@@ -65,6 +65,9 @@ h5debug: h5debug.lo
h5import: h5import.lo
@$(LT_LINK_EXE) $(CFLAGS) -o $@ h5import.lo $(LIBTOOLS) $(LIBHDF5) $(LDFLAGS) $(LIBS)
+h5redeploy: h5redeploy.in
+ $(CP) $(srcdir)/$@.in $@
+
h5repart: h5repart.lo
@$(LT_LINK_EXE) $(CFLAGS) -o $@ h5repart.lo $(LIBTOOLS) $(LIBHDF5) $(LDFLAGS) $(LIBS)
diff --git a/tools/misc/h5redeploy b/tools/misc/h5redeploy.in
index a10df35..a10df35 100755
--- a/tools/misc/h5redeploy
+++ b/tools/misc/h5redeploy.in