Skip to content

Commit

Permalink
chore: remove cli suffix in binary names and package name
Browse files Browse the repository at this point in the history
  • Loading branch information
drlkf committed May 17, 2024
1 parent 4df9014 commit 7d4302c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ footswitch
obj*/
*-build-deps_*
debian/files
debian/footswitch-cli/
debian/footswitch-cli.substvars
debian/footswitch/
debian/footswitch.substvars
debian/*debhelper*
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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()
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
footswitch-cli (1.0.0) stable; urgency=medium
footswitch (1.0.0) stable; urgency=medium

* Initial release.

Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: footswitch-cli
Source: footswitch
Section: utils
Priority: optional
Maintainer: Radoslav Gerganov <[email protected]>
Expand All @@ -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:
Expand Down
File renamed without changes.

0 comments on commit 7d4302c

Please sign in to comment.