Switch from gnutoo.srht.site/libreboot to libreboot.srht.site
As adding organization support to Source Hut is still a work in progress, we will use this workaround in the meantime. Sourceware also uses a similar workaround. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
parent
75660feab4
commit
4a7e21edc7
|
@ -1,5 +1,4 @@
|
|||
/untitled/
|
||||
/id_oauth2_bearer
|
||||
/index.html
|
||||
/lighttpd.conf
|
||||
/website.tar.gz
|
||||
|
|
13
Makefile
13
Makefile
|
@ -12,7 +12,7 @@
|
|||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
DOMAIN := gnutoo.srht.site
|
||||
DOMAIN := libreboot.srht.site
|
||||
|
||||
.PHONY: all build help upload website.tar.gz
|
||||
|
||||
|
@ -62,12 +62,8 @@ upload: website.tar.gz
|
|||
-Fcontent=@website.tar.gz \
|
||||
https://pages.sr.ht/publish/$(DOMAIN)
|
||||
|
||||
index.html: index.html.tmpl
|
||||
sed 's/DOMAIN/$(DOMAIN)/' $? > $@
|
||||
|
||||
# See https://reproducible-builds.org/docs/archives/ for more details
|
||||
website.tar.gz: build index.html
|
||||
sed 's/DOMAIN/$(DOMAIN)/' index.html.tmpl > index.html
|
||||
website.tar.gz: build
|
||||
tar \
|
||||
--exclude-vcs \
|
||||
--format=gnu \
|
||||
|
@ -77,6 +73,5 @@ website.tar.gz: build index.html
|
|||
-czf \
|
||||
website.tar.gz \
|
||||
untitled/www/ \
|
||||
index.html \
|
||||
--transform="s#untitled/www/lbwww/site/#libreboot/#" \
|
||||
--transform="s#untitled/www/lbwww-img/www/#libreboot/img/#"
|
||||
--transform="s#untitled/www/lbwww/site/##" \
|
||||
--transform="s#untitled/www/lbwww-img/www/#img/#"
|
||||
|
|
6
build.sh
6
build.sh
|
@ -17,7 +17,7 @@
|
|||
set -e
|
||||
|
||||
if [ ! -d untitled ] ; then
|
||||
git clone https://git.sr.ht/~gnutoo/untitled
|
||||
git clone https://git.sr.ht/~libreboot/untitled
|
||||
else
|
||||
git -C untitled clean -dfx
|
||||
git -C untitled pull --rebase
|
||||
|
@ -26,14 +26,14 @@ fi
|
|||
cd untitled && mkdir -p www && cd www
|
||||
|
||||
if [ ! -d lbwww ] ; then
|
||||
git clone https://git.sr.ht/~gnutoo/lbwww
|
||||
git clone https://git.sr.ht/~libreboot/lbwww
|
||||
else
|
||||
git -C lbwww clean -dfx
|
||||
git -C lbwww pull --rebase
|
||||
fi
|
||||
|
||||
if [ ! -d lbwww-img ] ; then
|
||||
git clone https://git.sr.ht/~gnutoo/lbwww-img
|
||||
git clone https://git.sr.ht/~libreboot/lbwww-img
|
||||
else
|
||||
git -C lbwww-img clean -dfx
|
||||
git -C lbwww-img pull --rebase
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<!--
|
||||
# Copyright (C) 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>DOMAIN</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<u><h2>Websites:</h2></u>
|
||||
<ul>
|
||||
<li> <a href="libreboot/">Libreboot</a></li>
|
||||
</ul>
|
||||
|
||||
</body></html>
|
Loading…
Reference in New Issue