diff --git a/.gitignore b/.gitignore index 1c5010b..d64ff3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /untitled/ /id_oauth2_bearer +/index.html /website.tar.gz diff --git a/Makefile b/Makefile index 2d40fd2..d4b62f8 100644 --- a/Makefile +++ b/Makefile @@ -47,8 +47,12 @@ 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 +website.tar.gz: build index.html + sed 's/DOMAIN/$(DOMAIN)/' index.html.tmpl > index.html tar \ --format=gnu \ --mtime='1970-01-01 00:00Z' \ @@ -57,4 +61,5 @@ website.tar.gz: build -czf \ website.tar.gz \ untitled/www/lbwww/site/ \ - --transform="s#untitled/www/lbwww/site/##" \ + index.html \ + --transform="s#untitled/www/lbwww/site/#libreboot/#" \ diff --git a/index.html.tmpl b/index.html.tmpl new file mode 100644 index 0000000..6d3aead --- /dev/null +++ b/index.html.tmpl @@ -0,0 +1,29 @@ + + + + + DOMAIN + + + +

Services:

+ + +