add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/feierabend.1.gz
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
+ > ${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)
set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
OWNER_READ
${CMAKE_CURRENT_BINARY_DIR}/changelog.Debian.gz
DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/feierabend.1.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/feierabendxml.1.gz
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
set(CPACK_GENERATOR "DEB")
--- /dev/null
+.TH feierabendxml 1 2026-05-25
+
+.SH NAME
+feierabendxml - is a tool it calc work time and write to xml to stdout. It can pipe multiple feierabendxml.
+
+.SH SYNOPSIS
+.P
+.EX
+feierabendxml version
+feierabendxml init [<hour> <minutes>]
+feierabendxml add <begin-hour> <begin-minutes> <end-hour> <end-minutes>
+feierabendxml dateadd <date> <begin-hour> <begin-minutes> <end-hour> <end-minutes>
+feierabendxml merge <directory>
+.EE
+.P
+
+.SH COMMANDS
+.P
+.EX
+version print the program version
+init init empty xml
+add add one entry from current date
+dateadd add an entry with one specific date
+merge merge xmls from one directory together
+.EE
+.P
+
+.SH OPTIONS
+.P
+.EX
+hour overtime hours
+minutes overtime minutes
+begin-hour worktime begin hour
+begin-minutes worktime begin minutes
+date date of work (format YYYY-mm-dd)
+directory directroy contains xml to merge
+.EE
+.P
\ No newline at end of file