mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
build: Check for a2x binary and use its full path if found
This commit is contained in:
parent
4a84a19b28
commit
8cdc43f540
@ -103,7 +103,7 @@ ell/internal: Makefile
|
||||
done > $@
|
||||
|
||||
%.1: %.txt
|
||||
$(AM_V_GEN)a2x --doctype manpage --format manpage $(srcdir)/$<
|
||||
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
|
||||
|
||||
maintainer-clean-local:
|
||||
-rm -rf build-aux ell
|
||||
|
@ -51,6 +51,8 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
|
||||
fi
|
||||
])
|
||||
|
||||
AC_PATH_PROG(A2X, [a2x], [], $PATH:/sbin:/usr/sbin)
|
||||
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
|
||||
AC_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user