Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 2017 Digital
  2. #
  3. # This file is a modified version of the Makefile generated
  4. # by sphinx-quickstart.
  5. #
  6. # This file is part of DigiLib.
  7. #
  8. # DigiLib is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation, either version 3 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # DigiLib is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with DigiLib. If not, see <http://www.gnu.org/licenses/>.
  20. # You can set these variables from the command line.
  21. SPHINXOPTS =
  22. SPHINXBUILD = sphinx-build
  23. SPHINXPROJ = DigiLib
  24. SOURCEDIR = src/docs/
  25. BUILDDIR = build/docs/
  26. # Put it first so that "make" without argument is like "make help".
  27. help:
  28. @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  29. .PHONY: help Makefile
  30. # Catch-all target: route all unknown targets to Sphinx using the new
  31. # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
  32. %: Makefile
  33. @$(SPHINXBUILD) -M [email protected] "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)