4 # Copyright 2014, Juniper Networks, Inc.
6 # This SOFTWARE is licensed under the LICENSE provided in the
7 # ../Copyright file. By downloading, installing, copying, or otherwise
8 # using the SOFTWARE, you agree to be bound by the terms of that
11 doc docs: xolint-errors.rst html
14 # The contents of xolint.rst is generated based on xolint.pl, since we
15 # really want this to be self-documenting. But readthedocs.org needs this
16 # data to be _in_ repo. So we generate this file on command only, and
17 # the developer needs to commit any changes.
20 xolint-errors.rst: ${top_srcdir}/xolint/xolint.pl
21 perl ${top_srcdir}/xolint/xolint.pl -D > ${top_srcdir}/doc/xolint-errors.rst
23 SPHINX = python3 -msphinx
25 html sphinx sphinx-html:
26 ${SPHINX} -M html ${srcdir} . -N -E
29 ${SPHINX} -M singlehtml ${srcdir} . -N -E