summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5e949cd40..842c18da5 100644
--- a/Makefile
+++ b/Makefile
@@ -67,9 +67,10 @@ help:
clean:
rm -rf $(BUILDDIR)/*
+ rm -rf autoapi
rm -rf $(STUBDIR) $(DISTDIR) *.egg-info
-html:
+html: stubs
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -213,8 +214,10 @@ check-translate: locale/circuitpython.pot $(wildcard locale/*.po)
$(PYTHON) tools/check_translations.py $^
stubs:
- rst2pyi $(VALIDATE) shared-bindings/ $(STUBDIR)
- python setup.py sdist
+ @mkdir -p circuitpython-stubs
+ @$(PYTHON) tools/extract_pyi.py shared-bindings/ $(STUBDIR)
+ @$(PYTHON) tools/extract_pyi.py ports/atmel-samd/bindings $(STUBDIR)
+ @$(PYTHON) setup.py -q sdist
update-frozen-libraries:
@echo "Updating all frozen libraries to latest tagged version."