meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit c2b12c5bf7223532c9912318407d203da38ee9b2
parent 7993cea7f3f256b9147acdf83248b2bf2d9dbf1d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 23 Feb 2022 16:09:36 +0100

star-engine: update the Star-Engine 0.14 archive

It adds the README.md file of the star-engine that we use to retrieve
the release notes to print on the "downloads" page

Diffstat:
Mstar-engine/Makefile | 11++++++++---
Mstar-engine/downloads/Star-Engine-0.14.0-GNU-Linux64.tar.gz | 4++--
Mstar-engine/downloads/Star-Engine-0.14.0-Sources.zip | 4++--
Mstar-engine/star_engine_build.sh | 13+++++++++++--
4 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/star-engine/Makefile b/star-engine/Makefile @@ -47,13 +47,15 @@ STAR_SP_README=$(STAR_ENGINE_DIR)/share/doc/star-sp/README.md STAR_SF_README=$(STAR_ENGINE_DIR)/share/doc/star-sf/README.md STAR_VX_README=$(STAR_ENGINE_DIR)/share/doc/star-vx/README.md STAR_UVM_README=$(STAR_ENGINE_DIR)/share/doc/star-uvm/README.md +STAR_ENGINE_README=$(STAR_ENGINE_DIR)/share/doc/star-engine/README.md STAR_ENGINE_READMES=\ $(STAR_2D_README)\ $(STAR_3D_README)\ $(STAR_SP_README)\ $(STAR_SF_README)\ $(STAR_VX_README)\ - $(STAR_UVM_README) + $(STAR_UVM_README)\ + $(STAR_ENGINE_README) STAR_ENGINE_PKG=\ downloads/Star-Engine-0.14.0-Sources.zip\ @@ -133,9 +135,12 @@ star-engine.html: star-engine.html.in star_engine_build.sh Makefile @echo "Building $@" @sh star_engine_build.sh overview $(STAR_ENGINE_VERSION) > $@ -star-engine-downloads.html: $(STAR_ENGINE_SIG) star_engine_build.sh +star-engine-downloads.html:\ + $(STAR_ENGINE_SIG)\ + $(STAR_ENGINE_README)\ + star_engine_build.sh @echo "Building $@" - @sh star_engine_build.sh downloads > $@ + @sh star_engine_build.sh downloads $(STAR_ENGINE_README) > $@ star-2d.html:\ star-2d.html.in\ diff --git a/star-engine/downloads/Star-Engine-0.14.0-GNU-Linux64.tar.gz b/star-engine/downloads/Star-Engine-0.14.0-GNU-Linux64.tar.gz @@ -1 +1 @@ -#$# git-wad 3879bd951081f4f9cd38017c09c7ad54cf244a4b8757e854caad3b07b59ba83f 20328503 -\ No newline at end of file +#$# git-wad 230fded72ef5c275e6db48633bc31778d639b827c74088bb95d9322fc292f725 20333681 +\ No newline at end of file diff --git a/star-engine/downloads/Star-Engine-0.14.0-Sources.zip b/star-engine/downloads/Star-Engine-0.14.0-Sources.zip @@ -1 +1 @@ -#$# git-wad a6115989e7ffde829bd9c40c7dd2a331ef715a1bbf47889f8068fd42ed90b9dc 1300014 -\ No newline at end of file +#$# git-wad 3c61de881aaff2f511b2c341c5b9eff547c796c687fcebe48e19a502615bc162 1300014 +\ No newline at end of file diff --git a/star-engine/star_engine_build.sh b/star-engine/star_engine_build.sh @@ -38,9 +38,18 @@ overview() downloads() { - print_header Star-Engine Downloads; - echo '<header><h1>Download Star-Engine</h1></header>'; + if [ $# -lt 1 ]; then + printf "Usage: %s downloads <readme>\n" "$0" + exit 1 + fi + + release_notes=$(${markdown} "$1" | \ + sed -n '/^<h2>Release notes<\/h2>/,/^<h2>Licenses<\/h2>/p' | sed '$d') + + print_header Star-Engine Downloads + echo "<header><h1>Download Star-Engine</h1></header>" print_downloads Star-Engine + echo "${release_notes}" print_footer }