build-sys: don't generate index.html with --disable-manpages (#5865)

Don't generate man/index.html and the dependent man/systemd.index.html
if man pages have been disabled.

Closes #5854
This commit is contained in:
Michael Biebl 2017-04-30 18:21:59 +02:00 committed by Martin Pitt
parent 14b6bb7762
commit db374ff564
1 changed files with 2 additions and 0 deletions

View File

@ -749,9 +749,11 @@ man/index.html: man/systemd.index.html
$(AM_V_LN)$(LN_S) -f systemd.index.html $@
if HAVE_PYTHON
if ENABLE_MANPAGES
noinst_DATA += \
man/index.html
endif
endif
CLEANFILES += \
man/index.html