From 828770f0d1ed635d4ab43ad6d0cf0ae36f339cb0 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sat, 9 May 2020 16:59:30 -0400 Subject: Updated generation scripts for LongTerm3 use. --- check.mak | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'check.mak') 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 $<) -- cgit v1.2.3