feat: Rsync media files etc instead of symlinking
All checks were successful
continuous-integration/drone/pr Build is passing

This is slightly more resource intensive per build, but also measn that the bewildering situation of changing files in the source tree alters the build/stage folder output without rebuilding.
Rsync means the impact should not be too large
This commit is contained in:
Darragh Elliott 2024-09-19 14:25:36 +01:00
parent 87a3a50d84
commit 29a22ce87a

View File

@ -211,8 +211,8 @@ COPY_DST_FILES := \$(sort \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/%,\$(COPY_SRC
all: \$(COPY_DST_FILES)
\$(COPY_DST_FILES): \$(OUTPUTDIR)/%: \$(INPUTDIR)/%
echo "* Linking file \$*"
ln -sf "\$<" "\$@"
echo "* Copying file \$*"
rsync -l "\$<" "\$@"
# -----------------------------------------------------------------------------
# Clean up excess files in target directory