build: Make help2man optional

I don't have it in gnome-ostree, nor at the moment man page stuff in
general.
This commit is contained in:
Colin Walters 2013-09-04 07:11:59 -04:00 committed by Aleksander Morgado
parent f0699a35b0
commit 0369f17df0
2 changed files with 6 additions and 1 deletions

View File

@ -88,6 +88,7 @@ GTK_DOC_CHECK(1.0)
dnl Man page
AC_PATH_PROG(HELP2MAN, help2man, false)
AM_CONDITIONAL(BUILDOPT_MAN, test x$HELP2MAN != xfalse)
AC_CONFIG_FILES([Makefile
data/Makefile

View File

@ -1,5 +1,9 @@
dist_man_MANS = qmicli.1
dist_man_MANS =
if BUILDOPT_MAN
dist_man_MANS += qmicli.1
endif
# List of all source files which affect the output of --help-all
SOURCES_WITH_HELP = \