Don't run help2man during cross builds and use pre-generated manual pages instead...
authorSZ Lin (林上智) <szlin@debian.org>
Wed, 28 Oct 2020 05:38:36 +0000 (13:38 +0800)
committerSZ Lin (林上智) <szlin@debian.org>
Wed, 4 Nov 2020 07:48:20 +0000 (07:48 +0000)
Forwarded: no

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

configure.ac
man/Makefile.am

index cd337ff57cc95e86815700d5550d354aef281494..921b7c4fe0d96d6026247a6c1b5df6b709f06ce5 100644 (file)
@@ -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])
index 0f9c644320c44da35f709bc7a3fc1575e1b2c728..b5df3b2621dca68277c296efc1a2364025fb094a 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (C) 2019 Bartosz Golaszewski <bartekgola@gmail.com>
 #
 
-if WITH_MANPAGES
+if WITH_HELP2MAN
 
 dist_man1_MANS = gpiodetect.man gpioinfo.man gpioget.man gpioset.man gpiofind.man gpiomon.man