summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-04 17:33:59 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-04 17:33:59 +0200
commit4fb334113bc2a71d75eaabeb3f81c98e5aaddc75 (patch)
treebafb4f6b9a10ea3626a94239259728f710064e0c
parent90f003a39f2082eb4b5f87812a43436792fb11b9 (diff)
downloadsystemd-4fb334113bc2a71d75eaabeb3f81c98e5aaddc75.tar.gz
man/man: refer to the right build directory in the helpers
I have no idea how this one slipped through.
-rwxr-xr-xman/html.in2
-rwxr-xr-xman/man.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/html.in b/man/html.in
index d4debcc340..bc9a668c23 100755
--- a/man/html.in
+++ b/man/html.in
@@ -9,4 +9,4 @@ fi
target="man/$1.html"
ninja -C "@BUILD_ROOT@" "$target"
set -x
-exec xdg-open build/"$target"
+exec xdg-open "@BUILD_ROOT@/$target"
diff --git a/man/man.in b/man/man.in
index ab1c1fdc73..75680b860c 100755
--- a/man/man.in
+++ b/man/man.in
@@ -13,4 +13,4 @@ if [ -z "$target" ]; then
exit 1
fi
ninja -C "@BUILD_ROOT@" "$target"
-exec man build/"$target"
+exec man "@BUILD_ROOT@/$target"