btstack/doc/manual/Makefile
2016-01-21 12:21:03 +01:00

26 lines
518 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 btstack