Have --disable-md2man affect the Makefile.

This commit is contained in:
Wayne Davison
2020-06-16 19:05:05 -07:00
parent 0b2a394cbc
commit beaf19c3e7
2 changed files with 3 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ CHECK_OBJS=tls.o testrun.o getgroups.o getfsdev.o t_stub.o t_unsafe.o trimslash.
@OBJ_RESTORE@
.PHONY: all
all: Makefile rsync$(EXEEXT) stunnel-rsyncd.conf man
all: Makefile rsync$(EXEEXT) stunnel-rsyncd.conf @MAKE_MAN@
.PHONY: install
install: all

View File

@@ -92,8 +92,10 @@ if test x"$enable_md2man" != x"no"; then
You can specify --disable-md2man if you want to skip building them.)
fi
fi
MAKE_MAN=man
else
AC_MSG_RESULT(no)
MAKE_MAN=''
fi
# Specifically, this turns on panic_action handling.