mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-09-06 22:01:34 +00:00
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:
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user