summary refs log tree commit diff
diff options
context:
space:
mode:
-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