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
|
|
|
|
|
|
|
|
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
|
|
|
|
pushd $(OUTPUTDIR)/rst
|
2017-10-14 13:13:21 +00:00
|
|
|
python $(TOOLSDIR)/makerst.py $(CLASSES)
|
2015-12-12 23:01:04 +00:00
|
|
|
popd
|