mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
build: Disable manual page generation if a2x is not available
This commit is contained in:
parent
43efaf0163
commit
39483e638d
@ -215,7 +215,9 @@ TESTS = $(unit_tests)
|
||||
|
||||
manual_pages = doc/iwmon.1
|
||||
|
||||
if BUILD_DOCS
|
||||
dist_man_MANS = $(manual_pages)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = $(manual_pages:.1=.txt)
|
||||
|
||||
|
@ -73,6 +73,7 @@ AC_DEFINE_UNQUOTED(CONFIGDIR, "/etc/iwd", [Configuration directory])
|
||||
AC_CHECK_HEADERS(linux/types.h linux/if_alg.h)
|
||||
|
||||
AC_PATH_PROG(A2X, [a2x], [], $PATH:/sbin:/usr/sbin)
|
||||
AM_CONDITIONAL(BUILD_DOCS, test "$A2X" != "")
|
||||
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user