[segyio] 319/376: Rename segycath -> segyio-cath

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit a5a010bfdafa5d847dde3a9d85db1b00aa870955
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Fri Jun 30 13:58:39 2017 +0200

    Rename segycath -> segyio-cath
---
 applications/CMakeLists.txt                | 8 ++++----
 applications/{segycath.c => segyio-cath.c} | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt
index 85823dc..fb72190 100644
--- a/applications/CMakeLists.txt
+++ b/applications/CMakeLists.txt
@@ -15,9 +15,9 @@ target_link_libraries(segyinfo segyio)
 add_executable(segyinspect segyinspect.c)
 target_link_libraries(segyinspect segyio)
 
-add_executable(segycath segycath.c)
-target_link_libraries(segycath segyio)
-target_compile_definitions(segycath PRIVATE
+add_executable(segyio-cath segyio-cath.c)
+target_link_libraries(segyio-cath segyio)
+target_compile_definitions(segyio-cath PRIVATE
     -Dsegyio_MAJOR=${segyio_MAJOR}
     -Dsegyio_MINOR=${segyio_MINOR}
 )
@@ -25,4 +25,4 @@ target_compile_definitions(segycath PRIVATE
 install(TARGETS segyinfo DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
 install(TARGETS segyinspect DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
 
-install(TARGETS segycath DESTINATION ${CMAKE_INSTALL_BINDIR})
+install(TARGETS segyio-cath DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/applications/segycath.c b/applications/segyio-cath.c
similarity index 97%
rename from applications/segycath.c
rename to applications/segyio-cath.c
index 0b48616..175f68a 100644
--- a/applications/segycath.c
+++ b/applications/segyio-cath.c
@@ -9,7 +9,7 @@
 #include <segyio/segy.h>
 
 static int help() {
-    puts( "Usage: segycath [OPTION]... [FILE]...\n"
+    puts( "Usage: segyio-cath [OPTION]... [FILE]...\n"
           "Concatenate the textual header(s) from FILE(s) to standard output.\n"
           "\n"
           "-n, --num        the textual header to show, starts at 0\n"
@@ -28,7 +28,7 @@ static int help() {
 }
 
 static int printversion() {
-    printf( "segycath (segyio version %d.%d)\n", segyio_MAJOR, segyio_MINOR );
+    printf( "segyio-cath (segyio version %d.%d)\n", segyio_MAJOR, segyio_MINOR );
     return 0;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list