From: Yu Watanabe Date: Thu, 15 May 2025 13:32:30 +0000 (+0900) Subject: man: fix path to version.h X-Git-Tag: v258-rc1~594 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fd936df772ce6b19c50918013235c7b46c3a658;p=thirdparty%2Fsystemd.git man: fix path to version.h Follow-up for 30d20907bddfe064cc3437a888dd8f00d14929e4. --- diff --git a/man/html.in b/man/html.in index aaff9d13838..f11919b324e 100755 --- a/man/html.in +++ b/man/html.in @@ -8,7 +8,7 @@ if [ -z "$1" ]; then fi # make sure the rules have been regenerated (in case update-man-rules was just run) -ninja -C "@BUILD_ROOT@" version.h +ninja -C "@BUILD_ROOT@" src/version/version.h target="man/$1.html" ninja -C "@BUILD_ROOT@" "$target" diff --git a/man/man.in b/man/man.in index 201c32dae25..f6d511ec035 100755 --- a/man/man.in +++ b/man/man.in @@ -9,7 +9,7 @@ if [ -z "$1" ]; then fi # make sure the rules have been regenerated (in case update-man-rules was just run) -ninja -C "@BUILD_ROOT@" version.h +ninja -C "@BUILD_ROOT@" src/version/version.h page="$(echo "$1" | sed 's/\./\\./')" target=$(ninja -C "@BUILD_ROOT@" -t query man/man | grep -E -m1 "man/$page\.[0-9]$" | awk '{print $2}')