doc: be more clever to guess existing libraries
authorJean Privat <jean@pryen.org>
Mon, 27 May 2013 17:49:02 +0000 (13:49 -0400)
committerJean Privat <jean@pryen.org>
Mon, 27 May 2013 17:49:02 +0000 (13:49 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

Makefile

index 87df8a1..e3b01bb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ doc/stdlib/index.html: bin/nitdoc
        @echo '***************************************************************'
        @echo '* Generate doc for NIT standard library                       *'
        @echo '***************************************************************'
-       bin/nitdoc lib/* -d doc/stdlib --public \
+       bin/nitdoc lib/*.nit $$(find lib/* -maxdepth 0 -type d ) -d doc/stdlib --public \
                --custom-title "Nit Standard Library" \
                --custom-menu-items "<li><a href=\"http://nitlanguage.org/\">Nitlanguage.org</a></li>" \
                --custom-overview-text "<p>Documentation for the standard library of Nit<br/>Version $$(git describe)<br/>Date: $$(git show --format="%cd" | head -1)</p>" \