3 .PHONY
: help gitupdate Makefile
install test htmlupload
7 git submodule update
--recursive
10 $(PYTHON3
) setup.py develop
# yes, develop, not install
13 $(PYTHON3
) setup.py
test # could just run nosetest3...
16 $(PYTHON3
) setup.py sdist upload
18 # Minimal makefile for Sphinx documentation
21 # You can set these variables from the command line.
23 SPHINXBUILD
= sphinx-build
24 SPHINXPROJ
= ieee754fpu
28 # Put it first so that "make" without argument is like "make help".
30 @
$(SPHINXBUILD
) -M help
"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS
) $(O
)
32 # copies all documentation to libre-soc (libre-soc admins only)
33 htmlupload
: clean html
34 rsync
-HPavz
--delete build
/html
/* \
35 libre-soc.org
:/var
/www
/libre-soc.org
/docs
/ieee754fpu
/
37 # Catch-all target: route all unknown targets to Sphinx using the new
38 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
40 echo
"catch-all falling through to sphinx for document building"
41 mkdir
-p
"$(SOURCEDIR)"/src
/gen
42 sphinx-apidoc
--ext-autodoc
-o
"$(SOURCEDIR)"/src
/gen .
/src
/ieee754
43 @
$(SPHINXBUILD
) -M
$@
"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS
) $(O
)