master
BodgeMaster 2021-09-08 09:35:37 +02:00
parent 05d60b4afc
commit c80a31bd71
2 changed files with 1 additions and 11 deletions

View File

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;%CONTENT_DIR%/" />
</head>
<body>
<p> Your browser seems to not support redirects. <br />
Please klick the following link to continue: <a href="%CONTENT_DIR%/"> Go to home page... </a></p>
</body>
</html>

View File

@ -10,7 +10,7 @@ rm ./src/**/README.md
# prepare build directory tree and static files
rm -r ./build
cp -r ./src ./build
rm ./build/**.{php,html,css,svg}
rm ./build/**/*.{php,html,css,svg}
# run the macro handler
echo "`cd src; find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/file=/;s/$/\; python3 variable_grabbler.py macros\/pass0\*.json src\/$file > build\/$file/'`" | bash -