Commit Graph

15 Commits

Author SHA1 Message Date
Martin Pulec
f35b046359 data/make_man.sh: fixed missing getopts shift
removed accidentally by 7c0bd41b

Now it is shifted after the while-loop (not `shift` in every while
iteration) - should behave the same but this is canonical according to
getopts man (w/o needless '$' before OPTIND).
2023-11-15 09:57:00 +01:00
Martin Pulec
01e525bfd4 data/make_man.sh: check output of binary
Since the manual page is partially generated using uv/hd-rum-transcode
output (for options), check if there is some output available.

Most importantly this should catch the situation when UG/reflector output
changes so that it is no more extracted to the manual page.
2023-11-15 09:35:34 +01:00
Martin Pulec
90e4db36e5 data/make_man.sh: remove check notice
The notice was there when the manual pages were manually generated but
as it is now generated automatically by make, it is slightly annoying.
2023-11-15 08:38:32 +01:00
Martin Pulec
84aab9aff0 man: prefer asciidoctor in macOS (also in CI)
asciidoc seems to be broken in currrent Homebrew
2023-11-14 11:42:37 +01:00
Martin Pulec
646ea19a17 make_man.sh: fixed sed cmd incompatible with mac 2023-11-14 11:29:04 +01:00
Martin Pulec
7c0bd41b6a data/make_man.sh: replace getopt with getopts
use of getopt is a bashism and it is also quite cumbersome

as a side effect, long options are no longer options
2023-11-14 11:13:45 +01:00
Martin Pulec
52d1a3325d data/make_man.sh: better debug message 2023-11-14 11:13:45 +01:00
Martin Pulec
54fbb7fd8b Makefile: build manual pages 2023-11-14 08:20:57 +01:00
Martin Pulec
59576a6c4e data/make_man.sh: fixed wrong var name in help
used path is actually $UV_PATH not $UG_PATH
2023-03-01 09:13:02 +01:00
Martin Pulec
9c6009c263 updated make_man.sh: added UV_PATH env var
+ fixed bold output (was bash specific)
2022-02-03 15:41:07 +01:00
Martin Pulec
f06204262b Use environment variable ULTRAGRID_VERBOSE 2021-05-26 14:48:53 +02:00
Martin Pulec
4a53df1e29 Added hd-rum manual page
+ added cross-reference to hd-rum-transcode man
+ improved man-generating script
2019-09-11 15:46:17 +02:00
Martin Pulec
eb73e1348e Manpages: crossreferenced pages + improved generator 2019-09-11 15:46:17 +02:00
Martin Pulec
59dd8df278 Added manual page for transcoder 2019-09-11 15:46:17 +02:00
Martin Pulec
e130976f17 Install manpage for UltraGrid 2019-09-11 15:46:17 +02:00