@@ -53,10 +53,15 @@ add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD | |||
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_PROJECT_NAME} whyblocked-gui) | |||
if(WITH_MAN) | |||
add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD | |||
add_custom_command( | |||
OUTPUT "${PROJECT_BINARY_DIR}/whyblocked.1" | |||
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}" | |||
DEPENDS "${CMAKE_SOURCE_DIR}/whyblocked.1.adoc" | |||
COMMAND ${CMAKE_SOURCE_DIR}/build_manpage.sh | |||
ARGS ${PROJECT_VERSION}) | |||
add_custom_target(run ALL | |||
DEPENDS "${PROJECT_BINARY_DIR}/whyblocked.1" | |||
) | |||
endif() | |||
install(TARGETS ${CMAKE_PROJECT_NAME} |
@@ -1,7 +1,7 @@ | |||
= whyblocked(1) | |||
:Author: tastytea | |||
:Email: tastytea@tastytea.de | |||
:Date: 2019-01-20 | |||
:Date: 2019-01-21 | |||
:Revision: 0.0.0 | |||
:man source: Whyblocked | |||
:man version: {revision} | |||
@@ -24,6 +24,14 @@ Apart from the obvious method, you can add entries by dropping the link to a | |||
profile into the main window. In the "Add entry" dialog, you can add receipts by | |||
dropping links or text into the receipts list. | |||
== FILES | |||
* Configuration file: `${XDG_CONFIG_HOME}/whyblocked.cfg` | |||
* Database: `${XDG_DATA_HOME}/whyblocked/database.sqlite` | |||
`${XDG_CONFIG_HOME}` is usually `~/.config` and `${XDG_DATA_HOME}` is usually | |||
`~/.local/share` | |||
== REPORTING BUGS | |||
Bugtracker: https://schlomp.space/tastytea/whyblocked/issues |