alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit 53aa6026e114503c141213d08e573130b7a79c2f (patch)
parent 4d50579be1e32eda92f4b518ace0ebc23e7bdbec
Author: Alex Karle <alex@alexkarle.com>
Date:   Wed, 17 Nov 2021 00:33:07 -0500

gophe: Add a phlog feed and a post about it

Exciting times in Gopherville. Now just to find a feed reader that
supports gopher :)

Diffstat:
M.gitignore | 1+
MMakefile | 8+++++++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -4,6 +4,7 @@ # atom feed is generated by ./bin/genatom.sh atom.xml +gopher.atom # obj directory on OpenBSD for out-of-tree builds obj/ diff --git a/Makefile b/Makefile @@ -24,12 +24,14 @@ HTML != echo $(DIR)/*.[1-9] | sed 's@$(DIR)/\([^\.]*\)\.[1-9]@\1.html@g' TEXT != echo $(DIR)/*.[1-9] | sed 's@$(DIR)/\([^\.]*\)\.[1-9]@\1.txt@g' SETS != find $(DIR)/jam-tuesday -name '[0-9][0-9][0-9][0-9]-*' NOTES != find $(DIR)/gopher/notes/all +PHLOG != find $(DIR)/gopher/phlog BUILT = $(HTML) \ $(TEXT) \ atom.xml \ index.html \ - gopher/notes/index.gph + gopher/notes/index.gph \ + gopher.atom # Top level targets @@ -63,6 +65,7 @@ install: build $(DIR)/gopher/bin/dirlist $(DESTDIR)/gopher/$$d)\ > $(DESTDIR)/gopher/$$d/index.gph; \ done + install -m 444 gopher.atom $(DESTDIR)/gopher/phlog/atom.xml .PHONY: clean clean: @@ -91,6 +94,9 @@ bin/fixlinks: LINKS gopher/notes/index.gph: $(NOTES) (cd $(DIR)/gopher/notes && $(DIR)/gopher/bin/notetag) > $@ +gopher.atom: $(PHLOG) gopher/bin/gophatom.sh + $(DIR)/gopher/bin/gophatom.sh > $@ + # Inference rules (*.txt and *.html) $(HTML): bin/genpost.sh bin/fixlinks