2015-12-13 00:01:04 +01:00
|
|
|
BASEDIR = $(CURDIR)
|
|
|
|
CLASSES = $(BASEDIR)/base/classes.xml
|
|
|
|
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
|
2016-02-07 12:07:24 +01:00
|
|
|
python2 $(TOOLSDIR)/makerst.py $(CLASSES)
|
2015-12-13 00:01:04 +01:00
|
|
|
popd
|