Don't run help2man during cross builds and use pre-generated manual pages instead...
authorSZ Lin (林上智) <szlin@debian.org>
Mon, 9 Nov 2020 03:24:33 +0000 (11:24 +0800)
committerGavin Lai (賴建宇) <gavin09@gmail.com>
Tue, 27 Aug 2024 14:35:02 +0000 (22:35 +0800)
Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch

configure.ac
man/Makefile.am

index d0b1479b574d5063a81cba51a2cb6eecab0db803..ddf5e47958534d8e3e7e4fa1d093ebf3535bcf49 100644 (file)
@@ -257,7 +257,7 @@ if test "x$cross_compiling" = xno
 then
        AC_CHECK_PROG([has_help2man], [help2man], [true], [false])
 fi
-AM_CONDITIONAL([WITH_MANPAGES], [test "x$has_help2man" = xtrue])
+AM_CONDITIONAL([WITH_HELP2MAN], [test "x$has_help2man" = xtrue])
 if test "x$has_help2man" = xfalse
 then
        AC_MSG_NOTICE([help2man not found - man pages cannot be generated automatically])
index ddd06286765686383a78169a62bd425edec5882a..69d0b17fed6dd7d302c52a2e5f924982ad048c5b 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
 
-if WITH_MANPAGES
+if WITH_HELP2MAN
 
 dist_man1_MANS = \
        gpiodetect.man \