mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
52f91cf139
(cherry picked from commit 5d10b8fabd
)
29 lines
526 B
Makefile
29 lines
526 B
Makefile
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
|
|
python2 $(TOOLSDIR)/makerst.py $(CLASSES)
|
|
popd
|