Browse Source

Added files section to manpage.

master
tastytea 10 months ago
parent
commit
11b88aaf3d
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
2 changed files with 15 additions and 2 deletions
  1. +6
    -1
      CMakeLists.txt
  2. +9
    -1
      whyblocked.1.adoc

+ 6
- 1
CMakeLists.txt View File

@@ -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}

+ 9
- 1
whyblocked.1.adoc View File

@@ -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

Loading…
Cancel
Save