X-Git-Url: http://nitlanguage.org diff --git a/Makefile b/Makefile index d51f431..c217c35 100644 --- a/Makefile +++ b/Makefile @@ -16,10 +16,16 @@ NITCOPT= -all: tools doc/stdlib/index.html +# Additional program directories (contrib and examples) that are buildable +PROGS=$(dir $(wildcard examples/*/Makefile contrib/*/Makefile)) + +all: tools + +# Compile all programs in $PROGS +full: all + for m in $(PROGS); do $(MAKE) -C "$$m" || exit 1; done docs: doc/stdlib/index.html doc/nitc/index.html - #cd doc; make tools: cd src; make @@ -34,7 +40,7 @@ doc/stdlib/index.html: bin/nitdoc bin/nitls @echo '***************************************************************' @echo '* Generate doc for NIT standard library *' @echo '***************************************************************' - bin/nitdoc $$(bin/nitls lib -r --path) -d doc/stdlib \ + bin/nitdoc $$(bin/nitls lib -rs --path) -d doc/stdlib \ --custom-title "Nit Standard Library" \ --custom-brand "Nitlanguage.org" \ --custom-overview-text "
Documentation for the standard library of Nit
Version $$(git describe)
Date: $$(git show --format="%cd" | head -1)