]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
add changelog with one entry
authorBastian Dehn <hhaalo@arcor.de>
Sun, 24 May 2026 19:58:02 +0000 (21:58 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 24 May 2026 19:58:02 +0000 (21:58 +0200)
src/CMakeLists.txt
src/debian/changelog [new file with mode: 0644]

index a115bff48657cf160e1dc6a3fabd32821bcbdb48..7422f38510de7c3b9b503094afb6481c293ccbd6 100644 (file)
@@ -47,6 +47,12 @@ add_executable(${PROJECT_NAME}xml
 target_link_libraries(${PROJECT_NAME}xml
        ${LIBXML2_LIBRARY})
 
+add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/changelog.Debian.gz
+       COMMAND gzip --stdout --no-name --best ${CMAKE_CURRENT_SOURCE_DIR}/debian/changelog
+               > ${CMAKE_CURRENT_BINARY_DIR}/changelog.Debian.gz)
+
+add_custom_target(changelog ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/changelog.Debian.gz)
+
 set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
        OWNER_READ
        OWNER_WRITE
@@ -59,6 +65,7 @@ set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
 install(TARGETS ${PROJECT_NAME} ${PROJECT_NAME}xml
        DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})
 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/debian/copyright
+       ${CMAKE_CURRENT_BINARY_DIR}/changelog.Debian.gz
        DESTINATION ${CMAKE_INSTALL_DOCDIR})
 
 set(CPACK_GENERATOR "DEB")
diff --git a/src/debian/changelog b/src/debian/changelog
new file mode 100644 (file)
index 0000000..4251f4c
--- /dev/null
@@ -0,0 +1,5 @@
+feierabend (1.0.0) stable; urgency=low
+
+  * first release
+
+ -- Bastian Dehn <hhaalo@arcor.de>  Sun, 16 Jun 2024 13:15:43 +0200