From 2a81f07dc42a2b94ccc7d087774d0c5c58372642 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 2 Oct 2022 21:47:42 -0400 Subject: [PATCH] burrow: Promote gopher/ to its own repo This should hopefully encourage gopher traffic! --- Makefile | 25 +------------------------ README.md | 3 ++- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/Makefile b/Makefile index a78aa89..1acdc65 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,8 @@ CFLAGS = -g -O2 -Wall -Wpedantic -Wextra # Variables used to determine what to build (and clean) HTML != echo www/*.txt www/blog/*.txt | sed 's@\([^\.]*\)\.txt@\1.html@g' SETS != find www/jam-tuesday -name '[0-9][0-9][0-9][0-9]-*' -NOTES != find gopher/notes/all -PHLOG != find gopher/phlog | grep -v atom.xml BUILT = $(HTML) \ - gopher/notes/index.gph \ - gopher/phlog/atom.xml \ www/atom.xml # Top level targets @@ -18,22 +14,11 @@ BUILT = $(HTML) \ build: $(BUILT) .PHONY: jams -jams: gopher/jam-tuesday/stats www/jam-tuesday/index.html +jams: www/jam-tuesday/index.html .PHONY: install install: build pax -rw www $(DESTDIR) - pax -rw gopher $(DESTDIR) - install -m 444 $(SETS) $(DESTDIR)/gopher/jam-tuesday - install -m 444 LICENSE $(DESTDIR)/gopher - install -m 444 www/blog/*.txt www/atom.xml $(DESTDIR)/gopher/blog - install -m 444 gopher/bin/* $(DESTDIR)/gopher/code - for d in jam-tuesday code; do \ - (cat gopher/$$d/index.gph; \ - gopher/bin/dirlist $(DESTDIR)/gopher/$$d)\ - > $(DESTDIR)/gopher/$$d/index.gph; \ - done - (cat gopher/blog/index.gph; gopher/bin/blogidx.sh) > $(DESTDIR)/gopher/blog/index.gph gzip -k -f $(DESTDIR)/www/*.html $(DESTDIR)/www/*/*.html .PHONY: clean @@ -41,8 +26,6 @@ clean: rm -f $(BUILT) # Individual files to build -gopher/jam-tuesday/stats: $(SETS) bin/jam-stats.sh - (date; echo; ./bin/jam-stats.sh -f) > $@ www/jam-tuesday/index.html: $(SETS) bin/jam-index.sh bin/jam-stats.sh ./bin/jam-index.sh > $@ @@ -50,12 +33,6 @@ www/jam-tuesday/index.html: $(SETS) bin/jam-index.sh bin/jam-stats.sh www/atom.xml: $(HTML) bin/genatom.sh ./bin/genatom.sh > $@ -gopher/notes/index.gph: $(NOTES) gopher/bin/notetag - (cd gopher/notes && ../bin/notetag) > $@ - -gopher/phlog/atom.xml: $(PHLOG) gopher/bin/gophatom.sh - ./gopher/bin/gophatom.sh > $@ - # Inference rules (*.txt -> *.html) $(HTML): Makefile bin/genpage www/style.css diff --git a/README.md b/README.md index 1ef2492..b119437 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ A pure ascii dump of the content of the www site, served over Gopher by Builds via [make(1)] at the same time as the HTML. -Also has gopher-exclusive content! +Also has gopher-exclusive content! Content stored in a different repo +to encourage you to try gopher :) git --- -- libgit2 1.1.1