aboutsummaryrefslogtreecommitdiffhomepage
path: root/check.mak
diff options
context:
space:
mode:
authormitchell <unknown>2020-05-09 16:59:30 -0400
committermitchell <unknown>2020-05-09 16:59:30 -0400
commit828770f0d1ed635d4ab43ad6d0cf0ae36f339cb0 (patch)
treeb6996eba4adf8a33038f341d541e5ec19146d90e /check.mak
parent49201487ef7048cf82b2421ef7954fc6a899f42b (diff)
downloadscintilla-mirror-828770f0d1ed635d4ab43ad6d0cf0ae36f339cb0.tar.gz
Updated generation scripts for LongTerm3 use.
Diffstat (limited to 'check.mak')
-rw-r--r--check.mak9
1 files changed, 8 insertions, 1 deletions
diff --git a/check.mak b/check.mak
index 737d66758..03afff56b 100644
--- a/check.mak
+++ b/check.mak
@@ -211,7 +211,14 @@ test: | /tmp/scintilla
make -C $|/test/unit CXX=$(LINUX_CXX) clean test
cd $|/test && lua5.1 test_lexlua.lua
-releasedir = /tmp/scintilla$(shell grep -o '[0-9]\+' version.txt)
+version = $(shell grep -o '[0-9]\+' version.txt)
+date = $(shell date +'%Y%m%d')
+gen:
+ @echo "Using version $(version) with date $(date)"
+ sed -i -e 's/content="[0-9]\+"/content="$(date)"/;' doc/index.html
+ cd scripts && python LexGen.py
+
+releasedir = /tmp/scintilla$(version)
$(releasedir): ; hg archive $@
zip: $(releasedir)
cd /tmp && tar czf $<.tgz $(notdir $<)