summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-25 23:05:41 -0400
committerJune McEnroe <june@causal.agency>2019-07-25 23:06:46 -0400
commit157de989780386c113c839d2fc3ea991a6604707 (patch)
treea6fc8c01297fe80a59cf2f9fc27e7f153b8f2238
parentWarn when date has changed (diff)
downloadsrc-157de989780386c113c839d2fc3ea991a6604707.tar.gz
src-157de989780386c113c839d2fc3ea991a6604707.zip
Generate index.html with links from bin.7
Diffstat (limited to '')
-rw-r--r--bin/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/bin/Makefile b/bin/Makefile
index b246bf28..0e44f557 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -114,11 +114,7 @@ IGNORE = '*.o' '*.html' config.mk tags scheme.h scheme.png $(BINS_ALL) $(LINKS)
 	echo $(IGNORE) | tr ' ' '\n' | sort > .gitignore
 
 HTMLS = $(BINS_ALL:%=%.html)
-HTMLS += Makefile.html
-HTMLS += gfx-fb.html
-HTMLS += gfx-x11.html
-HTMLS += gfx.html
-HTMLS += html.html
+HTMLS += index.html
 HTMLS += png.html
 WEBROOT = /usr/local/www/causal.agency
 
@@ -141,8 +137,10 @@ $(HTMLS): ttpre hi html.sh
 .h.html:
 	sh html.sh $< > $@
 
-Makefile.html: Makefile bin.7
-	sh html.sh Makefile bin.7 > Makefile.html
+index.html: Makefile bin.7
+	sh html.sh Makefile bin.7 \
+		| sed -E -e 's#([a-z0-9-]+)[(]1[)]#<a href="\1.html">&</a>#' \
+		> index.html
 
 clean:
 	rm -f $(BINS_ALL) $(LINKS) tags scheme.h scheme.png *.o *.html
a7a3a2f9d5ecc1685&follow=1'>Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe