]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Have --disable-md2man affect the Makefile.
authorWayne Davison <wayne@opencoder.net>
Wed, 17 Jun 2020 02:05:05 +0000 (19:05 -0700)
committerWayne Davison <wayne@opencoder.net>
Wed, 17 Jun 2020 02:05:05 +0000 (19:05 -0700)
Makefile.in
configure.ac

index a30d1022af12d34ab8b52719c5f8cba14124b5ab..f217332203987f69e18ab8db68bc20ba2a5eba95 100644 (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
index efce10d594910737cd2956c74c0e502ccadae895..d8f44d6b381514ed1a64669988f067243acd2573 100644 (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.