From 7d4302cd1b7934cbba1544bb2de438e66213a57c Mon Sep 17 00:00:00 2001 From: drlkf Date: Fri, 17 May 2024 14:04:34 +0200 Subject: [PATCH] chore: remove cli suffix in binary names and package name --- .gitignore | 4 ++-- CMakeLists.txt | 6 +++--- debian/changelog | 2 +- debian/control | 4 ++-- debian/{footswitch-cli.udev => footswitch.udev} | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename debian/{footswitch-cli.udev => footswitch.udev} (100%) diff --git a/.gitignore b/.gitignore index acbf608..066d1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,6 @@ footswitch obj*/ *-build-deps_* debian/files -debian/footswitch-cli/ -debian/footswitch-cli.substvars +debian/footswitch/ +debian/footswitch.substvars debian/*debhelper* diff --git a/CMakeLists.txt b/CMakeLists.txt index 2811219..1d0ad13 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.13) -project(footswitch-cli C) +project(footswitch C) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY build) set(SRCDIR src) @@ -12,13 +12,13 @@ link_libraries(${HIDAPI_LIBRARIES}) link_directories(src) foreach(exe IN ITEMS footswitch scythe scythe2) - add_executable(${exe}-cli + add_executable(${exe} ${SRCDIR}/common.c ${SRCDIR}/debug.c ${SRCDIR}/${exe}.c ) - install(TARGETS ${exe}-cli + install(TARGETS ${exe} RUNTIME DESTINATION bin ) endforeach() diff --git a/debian/changelog b/debian/changelog index 53eb06d..0fecaae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -footswitch-cli (1.0.0) stable; urgency=medium +footswitch (1.0.0) stable; urgency=medium * Initial release. diff --git a/debian/control b/debian/control index b358291..d13404a 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: footswitch-cli +Source: footswitch Section: utils Priority: optional Maintainer: Radoslav Gerganov @@ -7,7 +7,7 @@ Build-Depends: libhidapi-dev, pkg-config -Package: footswitch-cli +Package: footswitch Description: Command-line tools to configure PCsensor and Scythe foot switches. Architecture: any Depends: diff --git a/debian/footswitch-cli.udev b/debian/footswitch.udev similarity index 100% rename from debian/footswitch-cli.udev rename to debian/footswitch.udev