diff options
author | Dave Davenport <qball@blame.services> | 2021-08-22 12:30:14 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2021-08-22 12:30:14 +0200 |
commit | 3e0175d2b64b59cb9535f5cc7f9b90f93c4fd4bd (patch) | |
tree | cf7dfee5d6cdcbc408773764b088dc92eeefce78 /doc/meson_build_manpages.sh | |
parent | 1050c20c10894e4b801df3ee8549739131e29b2b (diff) |
[Doc][Meson] use go-md2man for update-manpage target
Diffstat (limited to 'doc/meson_build_manpages.sh')
-rwxr-xr-x | doc/meson_build_manpages.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/meson_build_manpages.sh b/doc/meson_build_manpages.sh new file mode 100755 index 00000000..a30821ed --- /dev/null +++ b/doc/meson_build_manpages.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +## Did not get this working in meson directly. +## not via generator or custom_target. + +pushd "${MESON_SOURCE_ROOT}" + +for a in $@ +do + go-md2man -in $a -out ${a%.markdown} +done |