3 .PHONY
: help Makefile
install test htmlupload
6 $(PYTHON3
) setup.py develop
# yes, develop, not install
9 $(PYTHON3
) setup.py
test # could just run nosetest3...
12 $(PYTHON3
) setup.py sdist upload
14 # Minimal makefile for Sphinx documentation
17 # You can set these variables from the command line.
19 SPHINXBUILD
= sphinx-build
24 # Put it first so that "make" without argument is like "make help".
26 @
$(SPHINXBUILD
) -M help
"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS
) $(O
)
28 # copies all documentation to libre-soc (libre-soc admins only)
29 htmlupload
: clean html
30 rsync
-HPavz
--delete build
/html
/* \
31 libre-soc.org
:/var
/www
/libre-soc.org
/docs
/nmutil
/
33 # Catch-all target: route all unknown targets to Sphinx using the new
34 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
36 echo
"catch-all falling through to sphinx for document building"
37 mkdir
-p
"$(SOURCEDIR)"/src
/gen
38 sphinx-apidoc
--ext-autodoc
-o
"$(SOURCEDIR)"/src
/gen .
/src
/nmutil
39 @
$(SPHINXBUILD
) -M
$@
"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS
) $(O
)