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 521f94a8a32f6e74afa3c0640acc38cf749d2c3e
parent b9e0b5c2c9d3e249774cb48d75ed2c0bc21b3960
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 29 Nov 2018 14:47:27 +0100

Update the high-tune pages

Diffstat:
M.gitignore | 1+
MMakefile | 7++++++-
Mhigh-tune/high-tune.sh | 2+-
Dindex.html | 18------------------
4 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -14,6 +14,7 @@ star-engine.html star-engine-downloads.html star-engine-release-notes.html.in downloads/ +.htaccess *.sw[po] *.[ao] *~ diff --git a/Makefile b/Makefile @@ -14,6 +14,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. REMOTE=OVH:www/projects2 +REMOTE_DIR=/$(shell basename ${REMOTE}) SUBDIRS=schiff solstice star-engine stardis kspectrum misc high-tune .PHONY: default all publish @@ -21,10 +22,14 @@ default: all all: @for subdir in ${SUBDIRS}; do make -C $$subdir; done + @echo "Options -Indexes" > .htaccess + @echo "Redirect ${REMOTE_DIR}/index.html ${REMOTE_DIR}/misc/about.html" \ + >> .htaccess clean: @for subdir in ${SUBDIRS}; do make -C $$subdir clean; done + @rm .htaccess publish: @for subdir in ${SUBDIRS}; do REMOTE=${REMOTE} make -C $$subdir publish; done - rsync -avz index.html solstice.html meso.css ${REMOTE} + rsync -avz solstice.html .htaccess meso.css ${REMOTE} diff --git a/high-tune/high-tune.sh b/high-tune/high-tune.sh @@ -36,7 +36,7 @@ dir_temp=$(mktemp -d) # Working directory # Sign the package ################################################################################ tput bold; echo ">>> High-Tune packages"; tput sgr0 -archs=$(find "./downloads" -regex "^.*/High-Tune-[0-9]+\.[0-9]+\.[0-9]+-.*tar.gz") +archs=$(find "./downloads" -regex "^.*/High-Tune-.*[0-9]+\.[0-9]+\.[0-9]+.*tar.gz") sign_something=0 for arch in $archs; do diff --git a/index.html b/index.html @@ -1,18 +0,0 @@ -<!DOCTYPE html> - -<html lang=en> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta http-equiv="Refresh" content="5; url=./misc/about.html"> - <title>|Meso|Star></title> -</head> - -<body> -<p>This web page moved to a new place.</p> - -<p>Your browser should automatically take you <a -href="misc/about.html">there</a> in 5 second.</p> -</body> - -</html> -