summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-03-13 16:58:31 +0100
committerGitHub <noreply@github.com>2023-03-13 16:58:31 +0100
commit30e81fcc26ee4e9394abe2504c6dd613b06a85db (patch)
tree9f1cfef5f96c0392260646f03addce85f4604772 /doc/Makefile
parenteb503fb461f996ae9fb56c0525abed784e9ed8db (diff)
parent857cd853dee0ebd553621ec4c29f16d7ca79085a (diff)
Merge pull request #74866 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.1) - 1st batch
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/Makefile b/doc/Makefile
index c8bf32d6e2..cc2ebf9881 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,28 +1,28 @@
BASEDIR = .
-CLASSES = $(BASEDIR)/classes/ $(BASEDIR)/../modules/
+CLASSES = "$(BASEDIR)/classes/" "$(BASEDIR)/../modules/"
OUTPUTDIR = $(BASEDIR)/_build
TOOLSDIR = $(BASEDIR)/tools
-JSDIR = $(BASEDIR)/../platform/web
+JSDIR = "$(BASEDIR)/../platform/web"
LANGARG ?= en
LANGCMD = -l $(LANGARG)
.ONESHELL:
clean:
- rm -rf $(OUTPUTDIR)
+ rm -rf "$(OUTPUTDIR)"
doxygen:
- rm -rf $(OUTPUTDIR)/doxygen
- mkdir -p $(OUTPUTDIR)/doxygen
+ rm -rf "$(OUTPUTDIR)/doxygen"
+ mkdir -p "$(OUTPUTDIR)/doxygen"
doxygen Doxyfile
rst:
- rm -rf $(OUTPUTDIR)/rst
- mkdir -p $(OUTPUTDIR)/rst
- python3 $(TOOLSDIR)/make_rst.py -o $(OUTPUTDIR)/rst $(LANGCMD) $(CLASSES)
+ rm -rf "$(OUTPUTDIR)/rst"
+ mkdir -p "$(OUTPUTDIR)/rst"
+ python3 "$(TOOLSDIR)/make_rst.py" -o "$(OUTPUTDIR)/rst" "$(LANGCMD)" $(CLASSES)
rstjs:
- rm -rf $(OUTPUTDIR)/rstjs
- mkdir -p $(OUTPUTDIR)/rstjs
- npm --prefix $(JSDIR) ci
- npm --prefix $(JSDIR) run docs -- --destination $(OUTPUTDIR)/rstjs/html5_shell_classref.rst
+ rm -rf "$(OUTPUTDIR)/rstjs"
+ mkdir -p "$(OUTPUTDIR)/rstjs"
+ npm --prefix "$(JSDIR)" ci
+ npm --prefix "$(JSDIR)" run docs -- --destination "$(OUTPUTDIR)/rstjs/html5_shell_classref.rst"