2022-09-11 07:48:31 +00:00
|
|
|
BASEDIR = .
|
2023-04-19 09:23:22 +00:00
|
|
|
CLASSES = "$(BASEDIR)/classes/" "$(BASEDIR)/../modules/" "$(BASEDIR)/../platform/"
|
2015-12-12 23:01:04 +00:00
|
|
|
OUTPUTDIR = $(BASEDIR)/_build
|
|
|
|
TOOLSDIR = $(BASEDIR)/tools
|
2023-02-27 11:24:46 +00:00
|
|
|
JSDIR = "$(BASEDIR)/../platform/web"
|
2021-12-21 09:53:07 +00:00
|
|
|
LANGARG ?= en
|
2023-11-19 01:19:45 +00:00
|
|
|
TOOLSOPT ?=
|
2015-12-12 23:01:04 +00:00
|
|
|
|
|
|
|
.ONESHELL:
|
|
|
|
|
|
|
|
clean:
|
2023-02-27 11:24:46 +00:00
|
|
|
rm -rf "$(OUTPUTDIR)"
|
2015-12-12 23:01:04 +00:00
|
|
|
|
|
|
|
doxygen:
|
2023-02-27 11:24:46 +00:00
|
|
|
rm -rf "$(OUTPUTDIR)/doxygen"
|
|
|
|
mkdir -p "$(OUTPUTDIR)/doxygen"
|
2015-12-12 23:01:04 +00:00
|
|
|
doxygen Doxyfile
|
|
|
|
|
|
|
|
rst:
|
2023-02-27 11:24:46 +00:00
|
|
|
rm -rf "$(OUTPUTDIR)/rst"
|
|
|
|
mkdir -p "$(OUTPUTDIR)/rst"
|
2023-11-19 01:19:45 +00:00
|
|
|
python3 "$(TOOLSDIR)/make_rst.py" -o "$(OUTPUTDIR)/rst" -l "$(LANGARG)" $(TOOLSOPT) $(CLASSES)
|
|
|
|
|
|
|
|
xml-check:
|
|
|
|
python3 "$(TOOLSDIR)/make_rst.py" --dry-run -l "$(LANGARG)" $(TOOLSOPT) $(CLASSES)
|
2021-02-22 05:10:16 +00:00
|
|
|
|
|
|
|
rstjs:
|
2023-02-27 11:24:46 +00:00
|
|
|
rm -rf "$(OUTPUTDIR)/rstjs"
|
|
|
|
mkdir -p "$(OUTPUTDIR)/rstjs"
|
|
|
|
npm --prefix "$(JSDIR)" ci
|
|
|
|
npm --prefix "$(JSDIR)" run docs -- --destination "$(OUTPUTDIR)/rstjs/html5_shell_classref.rst"
|