]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Build man pages when "make doc" is run
authorMichal Nowak <mnowak@isc.org>
Wed, 3 Feb 2021 12:44:55 +0000 (13:44 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 12 Feb 2021 11:15:01 +0000 (12:15 +0100)
Man pages are currently only generated from reStructuredText sources
when "make man" is run in the doc/man/ directory.  Tweak
doc/man/Makefile.am so that running "make doc" in the top-level
directory also causes man pages to be generated, so that all potential
documentation building problems can be detected by a single make
invocation.

doc/man/Makefile.am

index d363e35355691a26c06bc5f0f7a337b5015ffd4a..a62ca2c4cc973c77f592082fd72edf1df6c15f88 100644 (file)
@@ -147,6 +147,8 @@ man_SUBST =                                                 \
 .NOTPARALLEL: man
 man: Makefile $(man_MANS)
 
+doc-local: man
+
 clean-local::
        -rm -rf $(SPHINXBUILDDIR)