contrib: prepare for new constructors
[nit.git] / Makefile
index a6b4849..ef24ecb 100644 (file)
--- a/Makefile
+++ b/Makefile
 
 NITCOPT=
 
-all: tools doc/stdlib/index.html
+all: tools
 
 docs: doc/stdlib/index.html doc/nitc/index.html
-       #cd doc; make
 
 tools:
        cd src; make
@@ -45,10 +44,9 @@ doc/stdlib/index.html: bin/nitdoc bin/nitls
                --source "https://github.com/privat/nit/blob/$$(git rev-parse HEAD)/%f#L%l-%L" \
                --piwik-tracker "pratchett.info.uqam.ca/piwik/" \
                --piwik-site-id "2" \
-               --shareurl "../../share/nitdoc"
 
 doc/nitc/index.html: bin/nitdoc
-       bin/nitdoc src/nit*.nit src/test_*.nit -d doc/nitc \
+       bin/nitdoc $$(bin/nitls lib -r --path) src/nit*.nit src/test_*.nit -d doc/nitc \
                --private \
                --custom-title "Nit Compilers and Tools" \
                --custom-brand "<a href=\"http://nitlanguage.org/\">Nitlanguage.org</a>" \