[NEW] scripts: They make the Makefile go

This commit is contained in:
Andrew Rogers 2023-10-20 05:10:22 -05:00
commit f6b1f4c14a
3 changed files with 33 additions and 0 deletions

8
scripts/indicators Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
pushd blog
for post in *.md; do
ind_name=$(sed 's/\.md$/.indicator.html/' <<<"$post")
[ ! -a "$ind_name" ] && ln -s ../blog.indicator.html "$ind_name"
done
popd # blog