2016-03-16 23:06:34 +00:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Copyright 2014, Juniper Networks, Inc.
|
|
|
|
# All rights reserved.
|
|
|
|
# This SOFTWARE is licensed under the LICENSE provided in the
|
|
|
|
# ../Copyright file. By downloading, installing, copying, or otherwise
|
|
|
|
# using the SOFTWARE, you agree to be bound by the terms of that
|
|
|
|
# LICENSE.
|
|
|
|
|
2019-11-07 03:46:17 +00:00
|
|
|
doc docs: xolint.rst html
|
2016-03-16 23:06:34 +00:00
|
|
|
|
2019-11-07 03:46:17 +00:00
|
|
|
#
|
|
|
|
# The contents of xolint.rst is generated based on xolint.pl, since we
|
|
|
|
# really want this to be self-documenting. But readthedocs.org needs this
|
|
|
|
# data to be _in_ repo. So we generate this file on command only, and
|
|
|
|
# the developer needs to commit any changes.
|
|
|
|
#
|
2016-03-16 23:06:34 +00:00
|
|
|
|
2019-11-07 03:46:17 +00:00
|
|
|
xolint.rst: ${top_srcdir}/xolint/xolint.pl
|
|
|
|
perl ${top_srcdir}/xolint/xolint.pl -D > ${top_srcdir}/doc/xolint.rst
|
2018-05-23 01:12:17 +00:00
|
|
|
|
2019-11-07 03:46:17 +00:00
|
|
|
SPHINX = python3 -msphinx
|
2018-05-23 01:12:17 +00:00
|
|
|
|
|
|
|
html sphinx sphinx-html:
|
2019-11-07 03:46:17 +00:00
|
|
|
${SPHINX} -M html ${srcdir} . -N -E
|
|
|
|
|
|
|
|
singlehtml:
|
|
|
|
${SPHINX} -M singlehtml ${srcdir} . -N -E
|