1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Add documentation to generated distribution

archive.
This commit is contained in:
Calvin Rose 2018-12-17 22:48:37 -05:00
parent cc5b4eac0a
commit ac9935c95f
2 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,8 @@ valtest: $(JANET_TARGET) $(TEST_PROGRAMS)
dist: build/janet-dist.tar.gz
build/janet-%.tar.gz: $(JANET_TARGET) src/include/janet/janet.h \
janet.1 LICENSE CONTRIBUTING.md $(JANET_LIBRARY) README.md $(wildcard doc/*)
janet.1 LICENSE CONTRIBUTING.md $(JANET_LIBRARY) \
build/doc.html README.md $(wildcard doc/*)
tar -czvf $@ $^
#########################

View File

@ -93,6 +93,7 @@ exit /b 0
@rem Build a dist directory
:DIST
mkdir dist
janet.exe doc\gendoc.janet > dist\doc.html
copy janet.exe dist\janet.exe
copy LICENSE dist\LICENSE
copy README.md dist\README.md