From: Bastian Dehn Date: Sat, 13 Jun 2026 07:17:24 +0000 (+0200) Subject: fix line length in cmake files X-Git-Tag: 1.1.13^2~2 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=e884b32587836c6bb4280b6cd51c56b29d92dca3;p=mv-none-space.git fix line length in cmake files --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3dd195d..812964c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,14 +7,21 @@ add_executable(${PROJECT_NAME} rename.c) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/changelog.gz - COMMAND gzip --stdout --no-name --best ${CMAKE_CURRENT_SOURCE_DIR}/debian/changelog + COMMAND gzip --stdout + --no-name + --best ${CMAKE_CURRENT_SOURCE_DIR}/debian/changelog > ${CMAKE_CURRENT_BINARY_DIR}/changelog.gz) -add_custom_target(changelog ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/changelog.gz) +add_custom_target(changelog + ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/changelog.gz) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/mv-none-space.1.gz - COMMAND gzip --stdout --no-name --best ${CMAKE_CURRENT_SOURCE_DIR}/mv-none-space.1 + COMMAND gzip + --stdout + --no-name + --best ${CMAKE_CURRENT_SOURCE_DIR}/mv-none-space.1 > ${CMAKE_CURRENT_BINARY_DIR}/mv-none-space.1.gz) -add_custom_target(manpage ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/mv-none-space.1.gz) +add_custom_target(manpage + ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/mv-none-space.1.gz) include(GNUInstallDirs) if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3fd8857..311a840 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -3,7 +3,8 @@ message(STATUS "find cmocka: ${CMOCKA}") find_program(CPPCHECK cppcheck REQUIRED) message(STATUS "find cppcheck: ${CPPCHECK}") -execute_process(COMMAND bash -c "${CPPCHECK} --version | sed -z 's/Cppcheck \\(.*\\)\\n$/\\1/'" +execute_process(COMMAND bash -c "${CPPCHECK} --version \ + | sed -z 's/Cppcheck \\(.*\\)\\n$/\\1/'" OUTPUT_VARIABLE CPPCHECK_VERSION) message(STATUS "CPPCHECK_VERSION: ${CPPCHECK_VERSION}")