2015-12-13 00:01:04 +01:00
|
|
|
BASEDIR = $(CURDIR)
|
2017-09-22 16:55:48 +02:00
|
|
|
CLASSES = $(BASEDIR)/classes/ $(BASEDIR)/../modules/
|
2015-12-13 00:01:04 +01:00
|
|
|
OUTPUTDIR = $(BASEDIR)/_build
|
|
|
|
TOOLSDIR = $(BASEDIR)/tools
|
2021-02-22 06:10:16 +01:00
|
|
|
JSDIR = $(BASEDIR)/../platform/javascript
|
2015-12-13 00:01:04 +01:00
|
|
|
|
|
|
|
.ONESHELL:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OUTPUTDIR)
|
|
|
|
|
|
|
|
doxygen:
|
|
|
|
rm -rf $(OUTPUTDIR)/doxygen
|
|
|
|
mkdir -p $(OUTPUTDIR)/doxygen
|
|
|
|
doxygen Doxyfile
|
|
|
|
|
|
|
|
markdown:
|
|
|
|
rm -rf $(OUTPUTDIR)/markdown
|
|
|
|
mkdir -p $(OUTPUTDIR)/markdown
|
|
|
|
pushd $(OUTPUTDIR)/markdown
|
|
|
|
python2 $(TOOLSDIR)/makemd.py $(CLASSES)
|
|
|
|
popd
|
|
|
|
|
|
|
|
rst:
|
|
|
|
rm -rf $(OUTPUTDIR)/rst
|
|
|
|
mkdir -p $(OUTPUTDIR)/rst
|
2021-10-24 08:48:03 +02:00
|
|
|
python3 $(TOOLSDIR)/make_rst.py -o $(OUTPUTDIR)/rst $(CLASSES)
|
2021-02-22 06:10:16 +01:00
|
|
|
|
|
|
|
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
|