aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2021-06-24 15:39:55 -0400
committerKylie McClain <kylie@somas.is>2021-06-24 15:39:55 -0400
commit15149b75008ac5a5dbc0e3763da0c8d509cd5819 (patch)
treed9b41a5d605be7852bdab5ca9555337b84f35f62
parenta5d9a5e922aca146f9b3d7d784b1567bd882229f (diff)
downloadwww.somas.is-15149b75008ac5a5dbc0e3763da0c8d509cd5819.tar.gz
www.somas.is-15149b75008ac5a5dbc0e3763da0c8d509cd5819.tar.xz
www.somas.is-15149b75008ac5a5dbc0e3763da0c8d509cd5819.zip
Makefile: add redirect to latest release
-rw-r--r--.gitignore2
-rw-r--r--Makefile12
2 files changed, 10 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index d889e2b..868e6de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@ notes.adoc
rhizome.adoc
note-current.adoc
rhizome-current.adoc
+music.html
+music
diff --git a/Makefile b/Makefile
index 1608990..c8dc0ed 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,9 @@ PDFS = \
CSS = \
style.css
-LATEST = https://f4.bcbits.com/img/a1050589426_0.jpg
-MAJOR = https://f4.bcbits.com/img/a4175940610_0.jpg
+URL_MUSIC = https://somasis.bandcamp.com/album/in-nature-together
+COVER_LATEST = https://f4.bcbits.com/img/a1050589426_0.jpg
+COVER_MAJOR = https://f4.bcbits.com/img/a4175940610_0.jpg
INSTALLS = ${PAGES} ${NOTES} ${RHIZOMES} ${FEEDS} ${PDFS} ${CSS} ${ETC} feed.xml
@@ -53,7 +54,7 @@ feeds: FRC ${FEEDS}
pdfs: FRC ${PDFS}
index-latest.jpg:
- curl -sf -o .tmp_$@ ${LATEST}
+ curl -sf -o .tmp_$@ ${COVER_LATEST}
convert .tmp_$@ \
-strip \
-resize 300x300 \
@@ -65,7 +66,7 @@ index-latest.jpg:
rm -f .tmp_$@
index-major.jpg:
- curl -sf -o .tmp_$@ ${MAJOR}
+ curl -sf -o .tmp_$@ ${COVER_MAJOR}
convert .tmp_$@ \
-strip \
-resize 300x300 \
@@ -118,6 +119,9 @@ redirects: FRC redirect.sh
sh ./redirect.sh /note-2020-02-11.html \
2020/02/11/memory-fades-but-our-words-are-forever.html \
blog/2020/02/11/memory-fades-but-our-words-are-forever.html
+ sh ./redirect.sh ${URL_MUSIC} \
+ music.html
+ ln -sf music.html music
install: all redirects
mkdir -p "${DESTDIR}"