summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/Makefile2
-rw-r--r--bin/README6
-rw-r--r--bin/bin.714
3 files changed, 7 insertions, 15 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 1508a43b..fc72f5b9 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -139,7 +139,7 @@ $(HTMLS): ttpre hi html.sh
 
 index.html: Makefile bin.7
 	sh html.sh Makefile bin.7 \
-		| sed -E -e 's#([a-z0-9-]+)[(]1[)]#<a href="\1.html">&</a>#' \
+		| sed -E 's#([a-z0-9-]+)[(][13][)]#<a href="\1.html">&</a>#' \
 		> index.html
 
 clean:
diff --git a/bin/README b/bin/README
index dc5e9b0d..13ab2a1a 100644
--- a/bin/README
+++ b/bin/README
@@ -36,10 +36,8 @@ DESCRIPTION
      when(1)     date calculator
      xx(1)       hexdump
 
-     To build graphical tools, set one of:
+     One piece of reused code.
 
-           GFX=cocoa
-           GFX=fb
-           GFX=x11
+     png(3)  basic PNG output
 
 Causal Agency                    July 24, 2019                   Causal Agency
diff --git a/bin/bin.7 b/bin/bin.7
index 1503e87f..8dba32b7 100644
--- a/bin/bin.7
+++ b/bin/bin.7
@@ -102,15 +102,9 @@ hexdump
 .El
 .
 .Pp
-To build graphical tools,
-set one of:
-.
+One piece of reused code.
 .Pp
-.Bl -item -offset indent -compact
-.It
-.Va GFX Ns = Ns Cm cocoa
-.It
-.Va GFX Ns = Ns Cm fb
-.It
-.Va GFX Ns = Ns Cm x11
+.Bl -tag -width "png(3)" -compact
+.It Xr png 3
+basic PNG output
 .El