From: SZ Lin (林上智) Date: Wed, 28 Oct 2020 05:38:36 +0000 (+0800) Subject: Don't run help2man during cross builds and use pre-generated manual pages instead... X-Git-Tag: archive/raspbian/1.6.1-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=36f70c6e806eadb01ff558b99163f13bcb380676;p=libgpiod.git Don't run help2man during cross builds and use pre-generated manual pages instead - Thanks to Helmut Grohne Forwarded: no Gbp-Pq: Name Don-t-run-help2man-during-cross-builds-and-use-pre-genera.patch --- diff --git a/configure.ac b/configure.ac index cd337ff..921b7c4 100644 --- a/configure.ac +++ b/configure.ac @@ -213,7 +213,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 0f9c644..b5df3b2 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -6,7 +6,7 @@ # Copyright (C) 2019 Bartosz Golaszewski # -if WITH_MANPAGES +if WITH_HELP2MAN dist_man1_MANS = gpiodetect.man gpioinfo.man gpioget.man gpioset.man gpiofind.man gpiomon.man