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:
parent
cc5b4eac0a
commit
ac9935c95f
3
Makefile
3
Makefile
@ -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 $@ $^
|
||||
|
||||
#########################
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user