mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-27 21:21:21 +00:00
27 lines
658 B
Makefile
27 lines
658 B
Makefile
all:
|
|
rm -rf tmp
|
|
mkdir tmp
|
|
./update_apis.py
|
|
./update_listings.py
|
|
rm -rf docs_tmp
|
|
rm -rf docs_final
|
|
cp -r docs docs_tmp
|
|
cp -r docs docs_final
|
|
./markdown2mkdocs.py
|
|
rm -rf docs_tmp
|
|
mkdocs build --clean
|
|
./mkdocs2html.py
|
|
mkdir -p latex
|
|
cp -r docs/picts latex
|
|
./markdown2pdf.py
|
|
cp btstack_gettingstarted.tex latex
|
|
cd latex && pdflatex btstack_gettingstarted.tex && pdflatex btstack_gettingstarted.tex
|
|
mv latex/btstack_gettingstarted.pdf btstack.pdf
|
|
rm -rf latex tmp
|
|
|
|
clean:
|
|
rm -rf docs_final tmp btstack *.pdf latex/btstack_generated.* latex/btstack_final.tex
|
|
rm -rf docs/appendix/apis.md docs/appendix/index.md docs/examples/examples.md
|
|
|
|
|