man/man: refer to the right build directory in the helpers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Jun 2019 15:33:59 +0000 (17:33 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Jun 2019 15:33:59 +0000 (17:33 +0200)
I have no idea how this one slipped through.

man/html.in
man/man.in

index d4debcc..bc9a668 100755 (executable)
@@ -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"
index ab1c1fd..75680b8 100755 (executable)
@@ -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"