summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-10-08 14:50:26 -0400
committerJune McEnroe <june@causal.agency>2018-10-08 14:50:59 -0400
commitd44d376d59c28fa0f0d4a3e093e50dcbfbda167e (patch)
tree9e18496d0261a6fc839ef4358c3507adf4ab3926
parentRemove edi.c (diff)
downloadsrc-d44d376d59c28fa0f0d4a3e093e50dcbfbda167e.tar.gz
src-d44d376d59c28fa0f0d4a3e093e50dcbfbda167e.zip
Use col -b to remove formatting for README
Diffstat (limited to '')
-rw-r--r--bin/Makefile2
-rw-r--r--gfx/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/Makefile b/bin/Makefile
index e0c60ee7..f43c7ad7 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -59,7 +59,7 @@ clean:
 	rm -f tags scheme.h *.o $(BINS_ALL) $(GAMES_ALL) scheme.png
 
 README: man/bin.7
-	mandoc man/bin.7 | sed $$'s/.\b//g' > README
+	mandoc man/bin.7 | col -b -x > README
 
 .gitignore: Makefile
 	echo tags scheme.h *.o $(BINS_ALL) $(GAMES_ALL) scheme.png \
diff --git a/gfx/Makefile b/gfx/Makefile
index 192800c5..22198835 100644
--- a/gfx/Makefile
+++ b/gfx/Makefile
@@ -28,7 +28,7 @@ clean:
 	rm -f tags *.o $(BINS)
 
 README: man/gfx.7
-	mandoc man/gfx.7 | sed $$'s/.\b//g' > README
+	mandoc man/gfx.7 | col -b -x > README
 
 .gitignore: Makefile
 	echo '*.o' tags $(BINS) | tr ' ' '\n' > .gitignore