Move images to the same domain under img/

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2022-11-23 01:10:00 +01:00
parent 58fc2a673d
commit c37de82ede
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
2 changed files with 10 additions and 3 deletions

View File

@ -70,13 +70,13 @@ website.tar.gz: build index.html
sed 's/DOMAIN/$(DOMAIN)/' index.html.tmpl > index.html
tar \
--exclude-vcs \
--exclude-vcs-ignores \
--format=gnu \
--mtime='1970-01-01 00:00Z' \
--owner=0 --group=0 --numeric-owner \
--sort=name \
-czf \
website.tar.gz \
untitled/www/lbwww/site/ \
untitled/www/ \
index.html \
--transform="s#untitled/www/lbwww/site/#libreboot/#" \
--transform="s#untitled/www/lbwww/site/#libreboot/#" \
--transform="s#untitled/www/lbwww-img/www/#libreboot/img/#"

View File

@ -32,6 +32,13 @@ else
git -C lbwww pull --rebase
fi
if [ ! -d lbwww-img ] ; then
git clone https://git.sr.ht/~gnutoo/lbwww-img
else
git -C lbwww-img clean -dfx
git -C lbwww-img pull --rebase
fi
cd ../
./build sites lbwww