2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Fix default file path substitution in the ARM and man pages

Default paths were not substituted correctly when Python-only build was
used, i.e. it affected only ReadTheDocs. The incorrect rst_epilog was
overriden by Makefile for all "ordinary" builds.

This error was introduced by 3f78c60539.

Related: !5815
This commit is contained in:
Petr Špaček
2022-04-26 18:23:38 +02:00
parent 9d3b108a16
commit cd31391294
2 changed files with 12 additions and 12 deletions

View File

@@ -186,10 +186,10 @@ latex_logo = "isc-logo.pdf"
# sphinx-build is run by hand.
#
rst_epilog = """
.. |rndc_conf| replace: ``/etc/rndc.conf``
.. |rndc_key| replace: ``/etc/rndc.key``
.. |named_conf| replace: ``/etc/named.conf``
.. |bind_keys| replace: ``/etc/bind.keys``
.. |named_pid| replace: ``/run/named.pid``
.. |session_key| replace: ``/run/session.key``
.. |rndc_conf| replace:: ``/etc/rndc.conf``
.. |rndc_key| replace:: ``/etc/rndc.key``
.. |named_conf| replace:: ``/etc/named.conf``
.. |bind_keys| replace:: ``/etc/bind.keys``
.. |named_pid| replace:: ``/run/named.pid``
.. |session_key| replace:: ``/run/session.key``
"""

View File

@@ -109,12 +109,12 @@ man_pages = [
# sphinx-build is run by hand.
#
rst_epilog = """
.. |rndc_conf| replace: ``@sysconfdir@/rndc.conf``
.. |rndc_key| replace: ``@sysconfdir@/rndc.key``
.. |named_conf| replace: ``@sysconfdir@/named.conf``
.. |bind_keys| replace: ``@sysconfdir@/bind.keys``
.. |named_pid| replace: ``@runstatedir@/named.pid``
.. |session_key| replace: ``@runstatedir@/session.key``
.. |rndc_conf| replace:: ``@sysconfdir@/rndc.conf``
.. |rndc_key| replace:: ``@sysconfdir@/rndc.key``
.. |named_conf| replace:: ``@sysconfdir@/named.conf``
.. |bind_keys| replace:: ``@sysconfdir@/bind.keys``
.. |named_pid| replace:: ``@runstatedir@/named.pid``
.. |session_key| replace:: ``@runstatedir@/session.key``
"""
def setup(app):