blob: d59c77063b6b04908021e9714064f430e6b7fa88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
BASEDIR = $(CURDIR)
CLASSES = $(BASEDIR)/base/classes.xml
OUTPUTDIR = $(BASEDIR)/_build
TOOLSDIR = $(BASEDIR)/tools
.ONESHELL:
clean:
rm -rf $(OUTPUTDIR)
doku:
rm -rf $(OUTPUTDIR)/doku
mkdir -p $(OUTPUTDIR)/doku
pushd $(OUTPUTDIR)/doku
python2 $(TOOLSDIR)/makedoku.py $(CLASSES)
popd
doxygen:
rm -rf $(OUTPUTDIR)/doxygen
mkdir -p $(OUTPUTDIR)/doxygen
doxygen Doxyfile
html:
rm -rf $(OUTPUTDIR)/html
mkdir -p $(OUTPUTDIR)/html
pushd $(OUTPUTDIR)/html
python2 $(TOOLSDIR)/makehtml.py -multipage $(CLASSES)
popd
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
textile:
rm -rf $(OUTPUTDIR)/textile
mkdir -p $(OUTPUTDIR)/textile
python3 $(TOOLSDIR)/makedocs.py --input $(CLASSES) --output $(OUTPUTDIR)/textile
|