1*d4a07e70Sfengbojiang# 2*d4a07e70Sfengbojiang# $Id$ 3*d4a07e70Sfengbojiang# 4*d4a07e70Sfengbojiang# Copyright 2014, Juniper Networks, Inc. 5*d4a07e70Sfengbojiang# All rights reserved. 6*d4a07e70Sfengbojiang# This SOFTWARE is licensed under the LICENSE provided in the 7*d4a07e70Sfengbojiang# ../Copyright file. By downloading, installing, copying, or otherwise 8*d4a07e70Sfengbojiang# using the SOFTWARE, you agree to be bound by the terms of that 9*d4a07e70Sfengbojiang# LICENSE. 10*d4a07e70Sfengbojiang 11*d4a07e70Sfengbojiangdoc docs: xolint.rst html 12*d4a07e70Sfengbojiang 13*d4a07e70Sfengbojiang# 14*d4a07e70Sfengbojiang# The contents of xolint.rst is generated based on xolint.pl, since we 15*d4a07e70Sfengbojiang# really want this to be self-documenting. But readthedocs.org needs this 16*d4a07e70Sfengbojiang# data to be _in_ repo. So we generate this file on command only, and 17*d4a07e70Sfengbojiang# the developer needs to commit any changes. 18*d4a07e70Sfengbojiang# 19*d4a07e70Sfengbojiang 20*d4a07e70Sfengbojiangxolint.rst: ${top_srcdir}/xolint/xolint.pl 21*d4a07e70Sfengbojiang perl ${top_srcdir}/xolint/xolint.pl -D > ${top_srcdir}/doc/xolint.rst 22*d4a07e70Sfengbojiang 23*d4a07e70SfengbojiangSPHINX = python3 -msphinx 24*d4a07e70Sfengbojiang 25*d4a07e70Sfengbojianghtml sphinx sphinx-html: 26*d4a07e70Sfengbojiang ${SPHINX} -M html ${srcdir} . -N -E 27*d4a07e70Sfengbojiang 28*d4a07e70Sfengbojiangsinglehtml: 29*d4a07e70Sfengbojiang ${SPHINX} -M singlehtml ${srcdir} . -N -E 30