xref: /freebsd/contrib/libxo/doc/Makefile.am (revision 34b867ca)
131337658SMarcel Moolenaar#
231337658SMarcel Moolenaar# $Id$
331337658SMarcel Moolenaar#
431337658SMarcel Moolenaar# Copyright 2014, Juniper Networks, Inc.
531337658SMarcel Moolenaar# All rights reserved.
631337658SMarcel Moolenaar# This SOFTWARE is licensed under the LICENSE provided in the
731337658SMarcel Moolenaar# ../Copyright file. By downloading, installing, copying, or otherwise
831337658SMarcel Moolenaar# using the SOFTWARE, you agree to be bound by the terms of that
931337658SMarcel Moolenaar# LICENSE.
1031337658SMarcel Moolenaar
1134b867caSPhil Shaferdoc docs: xolint-errors.rst html
1231337658SMarcel Moolenaar
1376afb20cSPhil Shafer#
1476afb20cSPhil Shafer# The contents of xolint.rst is generated based on xolint.pl, since we
1576afb20cSPhil Shafer# really want this to be self-documenting.  But readthedocs.org needs this
1676afb20cSPhil Shafer# data to be _in_ repo.  So we generate this file on command only, and
1776afb20cSPhil Shafer# the developer needs to commit any changes.
1876afb20cSPhil Shafer#
1931337658SMarcel Moolenaar
2034b867caSPhil Shaferxolint-errors.rst: ${top_srcdir}/xolint/xolint.pl
2134b867caSPhil Shafer	perl ${top_srcdir}/xolint/xolint.pl -D > ${top_srcdir}/doc/xolint-errors.rst
2231337658SMarcel Moolenaar
2376afb20cSPhil ShaferSPHINX = python3 -msphinx
24983afe33SPhil Shafer
25983afe33SPhil Shaferhtml sphinx sphinx-html:
2676afb20cSPhil Shafer	${SPHINX} -M html ${srcdir} . -N -E
2776afb20cSPhil Shafer
2876afb20cSPhil Shafersinglehtml:
2976afb20cSPhil Shafer	${SPHINX} -M singlehtml ${srcdir} . -N -E
30