From 53aa6026e114503c141213d08e573130b7a79c2f Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Wed, 17 Nov 2021 00:33:07 -0500 Subject: [PATCH] gophe: Add a phlog feed and a post about it Exciting times in Gopherville. Now just to find a feed reader that supports gopher :) --- .gitignore | 1 + Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e6fab47..2162783 100644 --- 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 index 9bcf157..4c1e808 100644 --- 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 -- libgit2 1.1.1