]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tools/poman-translate: fix to work outside on source dir
authorKarel Zak <kzak@redhat.com>
Thu, 13 Mar 2025 13:46:38 +0000 (14:46 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Mar 2025 11:16:24 +0000 (12:16 +0100)
commitfcde20efa7eb97e13e5acde4d29f0ba82ae6b520
tree8485f85bef7e834f3a68fb7bc4620b306d474f11
parent318cba1eda1b07f3857d046742471a217b74c13f
tools/poman-translate: fix to work outside on source dir

* Let's check only the adoc file name if defined in po4a.cfg, not the
  complete path.

 cd ..
 meson setup build-dir util-linux
 ninja -C build-dir

* Exclude manpage-stub.adoc (it's just an example)

Addresses: https://github.com/util-linux/util-linux/pull/3378
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 95833d8e5e32dea9781873cbbd4e8b01e02d8bad)
tools/poman-translate.sh