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
|
|
|
|
|
|
|
|
.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 15:57:51 +01:00
|
|
|
python3 $(TOOLSDIR)/makerst.py $(CLASSES)
|
2015-12-13 00:01:04 +01:00
|
|
|
popd
|