updates makefile to handle documentaion generation a little better
This commit is contained in:
parent
d1821eebc7
commit
80805cdfc0
10
Makefile
10
Makefile
@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
docs_path:=./doc
|
docs_path:=./doc
|
||||||
|
doxyfile:=$(docs_path)/Doxyfile
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -12,15 +13,14 @@ usage:
|
|||||||
echo "make install to "install" man files"
|
echo "make install to "install" man files"
|
||||||
|
|
||||||
|
|
||||||
docs: $(docs_path)/Doxyfile $(docs_path)/html/index.html $(docs_path)/doxygen-awesome-css/doxygen-awesome.css
|
docs: $(docs_path)/html/index.html
|
||||||
|
|
||||||
$(docs_path)/html/index.html: $(docs_path)/Doxyfile
|
$(docs_path)/html/index.html: $(docs_path)/doxygen-awesome-css/doxygen-awesome.css $(doxyfile)
|
||||||
doxygen $<
|
doxygen $(doxyfile)
|
||||||
|
|
||||||
$(docs_path)/Doxyfile:
|
$(doxyfile):
|
||||||
doxygen -g $@
|
doxygen -g $@
|
||||||
|
|
||||||
|
|
||||||
$(docs_path)/doxygen-awesome-css/doxygen-awesome.css:
|
$(docs_path)/doxygen-awesome-css/doxygen-awesome.css:
|
||||||
git clone https://github.com/jothepro/doxygen-awesome-css.git $(docs_path)/doxygen-awesome-css --branch v2.3.4
|
git clone https://github.com/jothepro/doxygen-awesome-css.git $(docs_path)/doxygen-awesome-css --branch v2.3.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user