]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build-sys: don't generate index.html with --disable-manpages (#5865)
authorMichael Biebl <mbiebl@gmail.com>
Sun, 30 Apr 2017 16:21:59 +0000 (18:21 +0200)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Sun, 30 Apr 2017 16:21:59 +0000 (18:21 +0200)
Don't generate man/index.html and the dependent man/systemd.index.html
if man pages have been disabled.

Closes #5854

Makefile.am

index 11b539da9b37446e4eca99f55ff7d19ea297099c..d5659782664fdd8624dbbdb6a93a5afcf319d6e6 100644 (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