Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 = -c sphinx/
  22. # SPHINXOPTS =
  23. SPHINXBUILD = sphinx-build
  24. SPHINXPROJ = digilib
  25. SOURCEDIR = .
  26. BUILDDIR = docs
  27. # Put it first so that "make" without argument is like "make help".
  28. help:
  29. @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  30. .PHONY: help Makefile
  31. # Catch-all target: route all unknown targets to Sphinx using the new
  32. # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
  33. %: Makefile
  34. @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)