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
commit90837e8ad9aaf45d5a30b651caf160ac90241c53 (patch)
treefd67b1c0cf9f5e0761e1063ec8cbd0ceffd2e3c9
parentRemove edi.c (diff)
downloadsrc-90837e8ad9aaf45d5a30b651caf160ac90241c53.tar.gz
src-90837e8ad9aaf45d5a30b651caf160ac90241c53.zip
Use col -b to remove formatting for README
-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