Skip to content
Snippets Groups Projects
Select Git revision
  • baebf9b85233b893dfc65548953df26367ddcc24
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-06-25
  • experimental-2025-06-25-base
  • experimental-2025-06-24
  • experimental-2025-06-24-base
  • experimental-2025-06-22
  • experimental-2025-06-22-base
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
  • experimental-2025-05-13-base
  • experimental-2025-05-08
41 results

Makefile

Blame
  • Makefile 6.60 KiB
    # Makefile for Sphinx documentation
    #
    
    # You can set these variables from the command line.
    SPHINXOPTS    =
    SPHINXBUILD   = sphinx-build
    PAPER         =
    BUILDDIR      = _build
    
    # User-friendly check for sphinx-build
    ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
    $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
    endif
    
    # Internal variables.
    PAPEROPT_a4     = -D latex_paper_size=a4
    PAPEROPT_letter = -D latex_paper_size=letter
    ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
    # the i18n builder cannot share the environment and doctrees with the others
    I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
    
    .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
    
    help:
    	@echo "Please use \`make <target>' where <target> is one of"
    	@echo "  html       to make standalone HTML files"
    	@echo "  dirhtml    to make HTML files named index.html in directories"
    	@echo "  singlehtml to make a single large HTML file"
    	@echo "  pickle     to make pickle files"
    	@echo "  json       to make JSON files"
    	@echo "  htmlhelp   to make HTML files and a HTML help project"
    	@echo "  qthelp     to make HTML files and a qthelp project"
    	@echo "  devhelp    to make HTML files and a Devhelp project"
    	@echo "  epub       to make an epub"
    	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
    	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
    	@echo "  latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
    	@echo "  text       to make text files"
    	@echo "  man        to make manual pages"
    	@echo "  texinfo    to make Texinfo files"
    	@echo "  info       to make Texinfo files and run them through makeinfo"
    	@echo "  gettext    to make PO message catalogs"
    	@echo "  changes    to make an overview of all changed/added/deprecated items"
    	@echo "  xml        to make Docutils-native XML files"
    	@echo "  pseudoxml  to make pseudoxml-XML files for display purposes"
    	@echo "  linkcheck  to check all external links for integrity"
    	@echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
    
    clean:
    	rm -rf $(BUILDDIR)/*
    
    html:
    	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
    	@echo
    	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
    
    dirhtml:
    	$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
    	@echo
    	@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
    
    singlehtml:
    	$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
    	@echo
    	@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
    
    pickle:
    	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
    	@echo
    	@echo "Build finished; now you can process the pickle files."