copying public happens in Makefile, not mkws

This commit is contained in:
2026-06-16 21:57:05 +01:00
parent b79a0873dd
commit 84ea47f08d
2 changed files with 6 additions and 9 deletions
-9
View File
@@ -15,15 +15,6 @@ export LAYOUTS="$(realpath share/layouts)"
export DEFAULT_LAYOUT="${LAYOUTS}/default.layout.upphtml"
export OUT="$(realpath out)"
if [ -d "${PUBLIC}" ]
then
echo "Copying from $(basename "${PUBLIC}") into $(basename "${OUT}")"
cp -r "${PUBLIC}" "${OUT}"
else
echo "No $(basename "${PUBLIC}") folder found"
mkdir -p "${OUT}"
fi
if ! test -f "${SRC}"/index.upphtml
then
>&2 printf "no index.upphtml file found\\n"