Modifies source/Makefile in order to:

- Adds new 'py' directive with Bash script
- Adds same Bash script under json directive
- Invoke child Makefile in /scripts/_python
- Execute bundle_lister.py
- Provide 'py' directive for future Python scripts

Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
This commit is contained in:
Michael Vincerra
2018-12-15 18:57:37 -08:00
parent 2769247895
commit 324a7dc6a2
+5
View File
@@ -6,6 +6,7 @@ SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
SCRIPTDIR = scripts/_python
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
@@ -56,6 +57,9 @@ html:
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
py:
$(MAKE) -C $(SCRIPTDIR) py
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@@ -73,6 +77,7 @@ pickle:
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
$(MAKE) -C $(SCRIPTDIR) py
@echo
@echo "Build finished; now you can process the JSON files."