From: Bastian Dehn Date: Sat, 13 Jun 2026 14:08:42 +0000 (+0200) Subject: add editor config X-Git-Tag: 1.3.25^2~4 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=194aba5674dff7e4dd744550373211536ca5345f;p=feierabend.git add editor config --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d675cb7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,3 @@ +[*] +indent_style = tab +indent_size = 8 \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3d88216..057162d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -31,19 +31,28 @@ target_link_libraries(${PROJECT_NAME}xml ${LIBXML2_LIBRARY}) 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_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/feierabend.1.gz - COMMAND gzip --stdout --no-name --best ${CMAKE_CURRENT_SOURCE_DIR}/feierabend.1 + COMMAND gzip + --stdout + --no-name + --best ${CMAKE_CURRENT_SOURCE_DIR}/feierabend.1 > ${CMAKE_CURRENT_BINARY_DIR}/feierabend.1.gz) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/feierabendxml.1.gz - COMMAND gzip --stdout --no-name --best ${CMAKE_CURRENT_SOURCE_DIR}/feierabendxml.1 + COMMAND gzip + --stdout + --no-name + --best ${CMAKE_CURRENT_SOURCE_DIR}/feierabendxml.1 > ${CMAKE_CURRENT_BINARY_DIR}/feierabendxml.1.gz) -add_custom_target(manpages ALL - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/feierabend.1.gz +add_custom_target(manpages + ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/feierabend.1.gz ${CMAKE_CURRENT_BINARY_DIR}/feierabendxml.1.gz) include(GNUInstallDirs)