add doc/man to subdir if configure flag --enable-man is set

This commit is contained in:
nomnombtc 2016-08-27 01:09:22 +02:00 committed by Jack Grigg
parent 12a3f323a6
commit 7a8eda9ec3
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
if ENABLE_MAN
SUBDIRS += doc/man
endif
.PHONY: deploy FORCE
GZIP_ENV="-9n"
@ -280,5 +283,7 @@ CLEANFILES = $(OSX_DMG) $(BITCOIN_WIN_INSTALLER)
.INTERMEDIATE: $(COVERAGE_INFO)
DISTCHECK_CONFIGURE_FLAGS = --enable-man
clean-local:
rm -rf test_bitcoin.coverage/ zcash-gtest.coverage/ total.coverage/ $(OSX_APP)