From ac9935c95f1981c24c740b74118c19c23fcab971 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Mon, 17 Dec 2018 22:48:37 -0500 Subject: [PATCH] Add documentation to generated distribution archive. --- Makefile | 3 ++- build_win.bat | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 021cd4d6..29a45d83 100644 --- a/Makefile +++ b/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 $@ $^ ######################### diff --git a/build_win.bat b/build_win.bat index d12c2631..a5f6483f 100644 --- a/build_win.bat +++ b/build_win.bat @@ -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