Systemd/man/html.in
Zbigniew Jędrzejewski-Szmek 4fb334113b man/man: refer to the right build directory in the helpers
I have no idea how this one slipped through.
2019-06-04 17:33:59 +02:00

13 lines
207 B
Bash
Executable file

#!/bin/sh
set -e
if [ -z "$1" ]; then
echo "Use: $0 page-name (with no section suffix)"
exit 1
fi
target="man/$1.html"
ninja -C "@BUILD_ROOT@" "$target"
set -x
exec xdg-open "@BUILD_ROOT@/$target"