💾 Archived View for gemini.thegonz.net › glog › Makefile captured on 2022-04-29 at 12:39:33.

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

all: index.gmi atom.xml

index.gmi: *.gmi
	echo "# Metamatters" >| $@
	echo "Yet another gemini gemini log." >> $@
	echo "" >> $@
	for f in `tac -s' '<<<"$^"`; do echo "`echo $f | sed 's/\(..\)\(..\)\(..\)-\(.*\)\.gmi/=> & 20\1-\2-\3/'` `sed -n '/^##/b;s/^#\s*//p;tq;b;:q;q' < $f`" >> $@; done
	echo "" >> $@
	echo "=> Makefile Cheap makefile to generate this index" >> $@
	echo "=> atom.xml Atom feed" >> $@
	diohsc -e gemini://warmedal.se/~antenna/submit?gemini.thegonz.net/glog/

atom.xml: index.gmi
	gmisub2atom gemini://gemini.thegonz.net/glog/ < {body}lt; > $@