diff --git a/Makefile b/Makefile index 39ee718e..0b8c56c7 100644 --- a/Makefile +++ b/Makefile @@ -166,8 +166,8 @@ build/janet-%.tar.gz: $(JANET_TARGET) src/include/janet/janet.h \ docs: build/doc.html -build/doc.html: $(JANET_TARGET) doc/gendoc.janet - $(JANET_TARGET) doc/gendoc.janet > build/doc.html +build/doc.html: $(JANET_TARGET) tools/gendoc.janet + $(JANET_TARGET) tools/gendoc.janet > build/doc.html ################# ##### Other ##### diff --git a/build_win.bat b/build_win.bat index 1169d393..5303fcec 100644 --- a/build_win.bat +++ b/build_win.bat @@ -93,7 +93,7 @@ exit /b 0 @rem Build a dist directory :DIST mkdir dist -janet.exe doc\gendoc.janet > dist\doc.html +janet.exe tools\gendoc.janet > dist\doc.html copy janet.exe dist\janet.exe copy LICENSE dist\LICENSE copy README.md dist\README.md diff --git a/doc/gendoc.janet b/tools/gendoc.janet similarity index 98% rename from doc/gendoc.janet rename to tools/gendoc.janet index 1d1c273e..3e81528e 100644 --- a/doc/gendoc.janet +++ b/tools/gendoc.janet @@ -1,5 +1,7 @@ # Generate documentation +# TODO - make tool reusable + (def- prelude ```