build: do not try install doxygen man pages if they were not requested

Fixes: #1075
This commit is contained in:
Azat Khuzhin 2020-08-06 10:24:55 +03:00
parent 4cf0d712e3
commit 7e6c5fb46a
2 changed files with 3 additions and 0 deletions

View File

@ -17,9 +17,11 @@ if ENABLE_DOXYGEN
clean-local: clean-local:
-rm -rf $(DX_CLEANFILES) -rm -rf $(DX_CLEANFILES)
if ENABLE_DOXYGEN_MAN
# integrate doxygen with automake targets # integrate doxygen with automake targets
man3_MANS = @DX_DOCDIR@/man/man3/* man3_MANS = @DX_DOCDIR@/man/man3/*
$(man3_MANS): doxygen-doc $(man3_MANS): doxygen-doc
endif ENABLE_DOXYGEN_MAN
# Docs will be installed. It may be one or more docs supported # Docs will be installed. It may be one or more docs supported
# by doxygen, but does not include 'man'. # by doxygen, but does not include 'man'.

View File

@ -574,6 +574,7 @@ DX_INSTALL_DOCS = \\
\$(DX_CLEAN_HTML) \\ \$(DX_CLEAN_HTML) \\
\$(DX_CLEAN_CHM) \\ \$(DX_CLEAN_CHM) \\
\$(DX_CLEAN_CHI) \\ \$(DX_CLEAN_CHI) \\
\$(DX_CLEAN_MAN) \\
\$(DX_CLEAN_RTF) \\ \$(DX_CLEAN_RTF) \\
\$(DX_CLEAN_XML) \\ \$(DX_CLEAN_XML) \\
\$(DX_CLEAN_PS) \\ \$(DX_CLEAN_PS) \\