]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doc: Build and install documentation only when asked for
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 29 Sep 2022 08:50:48 +0000 (11:50 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 30 Sep 2022 07:51:41 +0000 (10:51 +0300)
doc/Makefile.am

index cff22e325a59a83b1c2635113325e9198b7a376b..16485c863a0d78f8318a25c70a7e8fc209c4ff1c 100644 (file)
@@ -1,8 +1,7 @@
 extra_dist_extra =
 
-SUBDIRS = . man example-config
+SUBDIRS = . example-config
 DOCDIRS = example-config
-BUILT_SOURCES = html mans
 
 docfiles = \
        thread-refs.txt \
@@ -18,7 +17,11 @@ am__v_Q_0 = -q
 am__v_Q_1 =
 
 if INSTALL_DOCS
+SUBDIRS += man
+DOCDIRS += html
+
 if HAVE_VENV
+BUILT_SOURCES = html mans
 extra_dist_extra += html man
 documentation_sources = $(top_srcdir)/doc/documentation-main