summaryrefslogtreecommitdiff
path: root/man/man.in
Commit message (Collapse)AuthorAgeFilesLines
* man: add licenses to all files that lack oneLuca Boccassi2021-10-011-0/+2
| | | | | | | Documentation is licensed under LGPL-2.1-or-later. Scripts are MIT to facilitate reuse. Examples are relicensed to CC0-1.0 to maximise copy-and-paste for users, with permission from authors.
* meson: rename target to update-man-rulesZbigniew Jędrzejewski-Szmek2021-01-271-1/+1
| | | | Same justification as for update-dbus-docs.
* meson: fix build/man/{man,html} to support page redirectsZbigniew Jędrzejewski-Szmek2020-08-201-1/+10
| | | | | | | | Commands like build/man/man journald.conf.d would show the installed man page (or an error if the page cannot be found in the global search path), and not the one in the build directory. If the man page is a redirect, or the .html is a symlink, resolve it, build the target, and show that.
* tree-wide: spellcheck fixesFrantisek Sumsal2020-06-261-1/+1
| | | | Most of them were reported by Fossies.org
* meson: run a no-op build to generate man rulesZbigniew Jędrzejewski-Szmek2020-03-271-0/+3
| | | | | | | When a new page is added using man/update-man-rules, ninja doesn't know about the new target until a build is initiated, so build/man/man and build/man/html would fail. Force a trivial build to regenerate the rules before calling 'ninja -t'.
* man/man: refer to the right build directory in the helpersZbigniew Jędrzejewski-Szmek2019-06-041-1/+1
| | | | I have no idea how this one slipped through.
* meson: escape dots in man/man helperZbigniew Jędrzejewski-Szmek2019-06-041-1/+2
| | | | | | | It was impossible to view systemd.nspawn(5), because systemd-nspawn(1) was matched also, and happened to be earlier in the list. The solution in this patch is pretty crude, but is should be enough for our purposes, since we don't have any regexp special characters in man page names except for the dot.
* meson: add build/man/man and build/man/html to build and display pagesZbigniew Jędrzejewski-Szmek2019-05-091-0/+15
Man page generation is generally very slow. I prefer to use -Dman=false when developing systemd, and only build specific pages when introducing changes. Those two little helper tools make it easy: $ build/man/man systemd.link $ build/man/html systemd.link will show systemd.link.8 and systemd.link.html from the build directory build/.