]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix path to version.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 May 2025 13:32:30 +0000 (22:32 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 15 May 2025 13:42:33 +0000 (15:42 +0200)
Follow-up for 30d20907bddfe064cc3437a888dd8f00d14929e4.

man/html.in
man/man.in

index aaff9d138382f4c38ac1d367e3e2d892ba24aed4..f11919b324ea51cac8e4614b38e86946840fc0e2 100755 (executable)
@@ -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"
index 201c32dae2538b039f387f662a1c2494ed58d505..f6d511ec03538700e518da62f5cd66c337987691 100755 (executable)
@@ -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}')