X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Makefile;h=ccc0a0bab8a2b6ac303be29e43ebbf9e9fa08bcb;hb=c76dc5c504a9719b9624676df880b93bf567db3c;hp=d4091c3d9b9111fb60a06345af029a495f2a5415;hpb=8deb49efabfdbc515e454bdb307135265301b3ef;p=openpower-isa.git diff --git a/Makefile b/Makefile index d4091c3d..ccc0a0ba 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,31 @@ PYTHON3 ?= "python3" -.PHONY: help Makefile gitupdate svanalysis test htmlupload pypiuload pywriter +.PHONY: help Makefile gitupdate svanalysis test htmlupload pypiupload \ + pyfnwriter pywriter generate + +generate: svanalysis pyfnwriter pywriter gitupdate: git submodule init git submodule update --init --recursive --remote +# now installed as a command (/usr/local/bin/svanalysis) by setup.py svanalysis: - python3 openpower/sv_analysis.py + sv_analysis # now installed as a command (/usr/local/bin/pywriter) by setup.py -pywriter: +pywriter: | svanalysis pywriter +# likewise +pyfnwriter: | pywriter + pyfnwriter + develop: python3 setup.py develop # yes, develop, not install # testing (usually done at install time) -test: develop +test: develop setup python3 setup.py test # could just run nosetest3... pypiupload: @@ -40,13 +48,13 @@ help: # copies all documentation to libre-soc (libre-soc admins only) htmlupload: clean html rsync -HPavz --delete build/html/* \ - libre-soc.org:/var/www/libre-soc.org/docs/soc/ + libre-soc.org:/var/www/libre-soc.org/docs/openpower-isa/ # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile echo "catch-all falling through to sphinx for document building" mkdir -p "$(SOURCEDIR)"/src/gen - sphinx-apidoc --ext-autodoc -o "$(SOURCEDIR)"/src/gen ./src/soc + sphinx-apidoc --ext-autodoc -o "$(SOURCEDIR)"/src/gen ./src/openpower @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)