Makefile 818 B

123456789101112131415161718192021222324252627
  1. # Copyright The OpenTelemetry Authors
  2. # SPDX-License-Identifier: Apache-2.0
  3. # Minimal makefile for Sphinx documentation
  4. #
  5. # You can set these variables from the command line, and also
  6. # from the environment for the first two.
  7. SPHINXOPTS ?=
  8. SPHINXBUILD ?= sphinx-build
  9. SOURCEDIR = .
  10. BUILDDIR = _build
  11. # Put it first so that "make" without argument is like "make help".
  12. help:
  13. @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  14. .PHONY: help Makefile clean
  15. # Catch-all target: route all unknown targets to Sphinx using the new
  16. # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
  17. %: Makefile
  18. @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  19. clean:
  20. rm -rf doxyoutput
  21. @$(SPHINXBUILD) -M clean "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)