mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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
This commit is contained in:
parent
124c299db4
commit
9cee5851f3
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user