2015-12-12 23:01:04 +00:00
|
|
|
BASEDIR = $(CURDIR)
|
2017-09-22 14:55:48 +00:00
|
|
|
CLASSES = $(BASEDIR)/classes/ $(BASEDIR)/../modules/
|
2015-12-12 23:01:04 +00:00
|
|
|
OUTPUTDIR = $(BASEDIR)/_build
|
|
|
|
TOOLSDIR = $(BASEDIR)/tools
|
|
|
|
|
|
|
|
.ONESHELL:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OUTPUTDIR)
|
|
|
|
|
|
|
|
doxygen:
|
|
|
|
rm -rf $(OUTPUTDIR)/doxygen
|
|
|
|
mkdir -p $(OUTPUTDIR)/doxygen
|
|
|
|
doxygen Doxyfile
|
|
|
|
|
|
|
|
rst:
|
|
|
|
rm -rf $(OUTPUTDIR)/rst
|
|
|
|
mkdir -p $(OUTPUTDIR)/rst
|
|
|
|
pushd $(OUTPUTDIR)/rst
|
2018-12-26 14:57:51 +00:00
|
|
|
python3 $(TOOLSDIR)/makerst.py $(CLASSES)
|
2015-12-12 23:01:04 +00:00
|
|
|
popd
|