diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-11 15:13:05 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-11 15:13:05 (GMT) |
commit | f5148618649e96f83578b0c415f69bb9016782df (patch) | |
tree | ccf142d61c74b40b0dcad28b0b872706f1cdfc06 /tools/h5jam | |
parent | dbe9c9f7dc95080eb1ad08702f880eda6b573ebd (diff) | |
download | hdf5-f5148618649e96f83578b0c415f69bb9016782df.zip hdf5-f5148618649e96f83578b0c415f69bb9016782df.tar.gz hdf5-f5148618649e96f83578b0c415f69bb9016782df.tar.bz2 |
HDFFV-8745 merge h5diff attribute fix
Diffstat (limited to 'tools/h5jam')
-rw-r--r-- | tools/h5jam/CMakeLists.txt | 8 | ||||
-rw-r--r-- | tools/h5jam/h5jam.c | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/tools/h5jam/CMakeLists.txt b/tools/h5jam/CMakeLists.txt index 927a64c..632fba8 100644 --- a/tools/h5jam/CMakeLists.txt +++ b/tools/h5jam/CMakeLists.txt @@ -37,8 +37,6 @@ set_global_variable (HDF5_UTILS_TO_EXPORT "${HDF5_UTILS_TO_EXPORT};h5unjam") set (H5_DEP_EXECUTABLES h5jam - getub - tellub h5unjam ) @@ -70,11 +68,13 @@ endif () # Rules for Installation of tools using make Install target #----------------------------------------------------------------------------- if (HDF5_EXPORTED_TARGETS) - INSTALL_PROGRAM_PDB (h5jam ${HDF5_INSTALL_BIN_DIR} toolsapplications) + foreach (exec ${H5_DEP_EXECUTABLES}) + INSTALL_PROGRAM_PDB (${exec} ${HDF5_INSTALL_BIN_DIR} toolsapplications) + endforeach () install ( TARGETS - h5jam h5unjam + ${H5_DEP_EXECUTABLES} EXPORT ${HDF5_EXPORTED_TARGETS} RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT toolsapplications diff --git a/tools/h5jam/h5jam.c b/tools/h5jam/h5jam.c index 269ca89..519d6df 100644 --- a/tools/h5jam/h5jam.c +++ b/tools/h5jam/h5jam.c @@ -182,9 +182,11 @@ parse_command_line (int argc, const char *argv[]) case 'h': usage (h5tools_getprogname()); leave (EXIT_SUCCESS); + break; case 'V': print_version (h5tools_getprogname()); leave (EXIT_SUCCESS); + break; case '?': default: usage (h5tools_getprogname()); @@ -201,10 +203,6 @@ parse_command_line (int argc, const char *argv[]) * Return: Success: 0 * Failure: 1 * - * Programmer: - * - * Modifications: - * *------------------------------------------------------------------------- */ int |