/usr/lib/grass74/include/Make/Sphinx.make is in grass-dev 7.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | APIDOC := $(shell sphinx-apidoc2 --help 2>/dev/null)
ifdef APIDOC
SPHINXAPIDOC = sphinx-apidoc2
else
APIDOC := $(shell sphinx-apidoc --help 2>/dev/null)
ifdef APIDOC
SPHINXAPIDOC = sphinx-apidoc
endif
endif
BUILD := $(shell sphinx-build2 --version 2>/dev/null)
ifdef BUILD
SPHINXBUILD = sphinx-build2
else
BUILD := $(shell sphinx-build --version 2>/dev/null)
ifdef BUILD
SPHINXBUILD = sphinx-build
endif
endif
checksphinx:
@echo $(SPHINXBUILD)
@echo $(SPHINXAPIDOC)
@(type $(SPHINXBUILD) > /dev/null || (echo "ERROR: Install 'sphinx-build' software first (get from http://sphinx-doc.org)" && exit 1))
@(type $(SPHINXAPIDOC) > /dev/null || (echo "ERROR: Install 'sphinx-apidoc' software first (get from http://sphinx-doc.org)" && exit 1))
cleansphinx:
$(MAKE) -C $(MODULE_TOPDIR)/gui/wxpython/docs/wxgui_sphinx/ wxguiclean
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs libpythonclean
sphinxdoc: checksphinx cleansphinx
$(MAKE) -C $(MODULE_TOPDIR)/gui/wxpython/docs/wxgui_sphinx/ wxguiapidoc
$(MAKE) -C $(MODULE_TOPDIR)/gui/wxpython/docs/wxgui_sphinx/ wxguihtml
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonapidoc
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonhtml
sphinxman:checksphinx cleansphinx
$(MAKE) -C $(MODULE_TOPDIR)/gui/wxpython/docs/wxgui_sphinx/ wxguiapidoc
$(MAKE) -C $(MODULE_TOPDIR)/gui/wxpython/docs/wxgui_sphinx/ wxguiman
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonapidoc
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonman
cleansphinxlib:
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs libpythonclean
sphinxdoclib: checksphinx cleansphinxlib
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonapidoc
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonhtml
sphinxmanlib:checksphinx cleansphinxlib
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonapidoc
$(MAKE) -C $(MODULE_TOPDIR)/lib/python/docs/ libpythonman
|