From: SZ Lin (林上智) Date: Mon, 9 Nov 2020 03:24:33 +0000 (+0800) Subject: Don't run help2man during cross builds and use pre-generated manual pages instead... X-Git-Tag: archive/raspbian/2.1.3-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9d672a81c4aac1220337d4ea124c4ef5b1aba955;p=libgpiod.git Don't run help2man during cross builds and use pre-generated manual pages instead - Thanks to Helmut Grohne Forwarded: not-needed Forwarded: not-needed Gbp-Pq: Name Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch --- diff --git a/configure.ac b/configure.ac index d0b1479..ddf5e47 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/man/Makefile.am b/man/Makefile.am index ddd0628..69d0b17 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski -if WITH_MANPAGES +if WITH_HELP2MAN dist_man1_MANS = \ gpiodetect.man \