X-Git-Url: http://nitlanguage.org?ds=sidebyside diff --git a/Makefile b/Makefile index 37ed2fb..a88d277 100644 --- a/Makefile +++ b/Makefile @@ -19,19 +19,46 @@ NITCOPT= all: tools doc/stdlib/index.html docs: doc/stdlib/index.html doc/nitc/index.html - cd doc; make + #cd doc; make tools: cd src; make -doc/stdlib/index.html: tools +bin/nitdoc: + cd src; make ../bin/nitdoc + +bin/nitls: + cd src; make ../bin/nitls + +doc/stdlib/index.html: bin/nitdoc bin/nitls @echo '***************************************************************' @echo '* Generate doc for NIT standard library *' @echo '***************************************************************' - bin/nitdoc lib/*.nit -d doc/stdlib --public --custom-overview-text '
Documentation for the standard library of Nit
' --custom-footer-text 'Nit standard library. Version '`git describe`'.' + bin/nitdoc $$(bin/nitls lib -r --path) -d doc/stdlib \ + --custom-title "Nit Standard Library" \ + --custom-menu-items "Documentation for the standard library of Nit
Version $$(git describe)
Date: $$(git show --format="%cd" | head -1)
Documentation for the nit compiler
' --custom-footer-text 'Nit compiler. Version '`git describe`'.' +doc/nitc/index.html: bin/nitdoc + bin/nitdoc src/nit*.nit src/test_*.nit -d doc/nitc \ + --private \ + --custom-title "Nit Compilers and Tools" \ + --custom-menu-items "Documentation for the Nit tools
Version $$(git describe)
Date: $$(git show --format="%cd" | head -1)