Allow the formal engine to perform a same-cycle result in the ALU
[soc.git] / Makefile
1 PYTHON3 ?= "python3"
2
3 gitupdate:
4 git submodule init
5 git submodule update --recursive
6
7 install:
8 python3 setup.py develop # yes, develop, not install
9 python3 src/soc/decoder/pseudo/pywriter.py
10
11 test: install
12 python3 setup.py test # could just run nosetest3...
13
14 # Minimal makefile for Sphinx documentation
15 #
16
17 # You can set these variables from the command line.
18 SPHINXOPTS =
19 SPHINXBUILD = sphinx-build
20 SPHINXPROJ = Libre-SOC
21 SOURCEDIR = .
22 BUILDDIR = build
23
24 # Put it first so that "make" without argument is like "make help".
25 help:
26 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
27
28 .PHONY: help Makefile
29
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 mkdir -p "$(SOURCEDIR)"/src/gen
34 sphinx-apidoc --ext-autodoc -o "$(SOURCEDIR)"/src/gen ./src/soc
35 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
36
37 htmlupload: clean html
38 rsync -HPavz --delete build/html/* \
39 libre-soc.org:/var/www/libre-soc.org/docs/soc/