aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-06-10 23:43:06 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-06-10 23:43:06 +0200
commitc5696be8bfde10ab214feb13f84846afc8a7b149 (patch)
tree0432c118411fa3940fcbaa760b59af6ca4f75266 /Makefile
parente041465496da0026501177725d6435d823244fe6 (diff)
downloadlightroff-c5696be8bfde10ab214feb13f84846afc8a7b149.tar.gz
Add README.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 80cc949..10e663a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,9 @@ xroff: lex.yy.c
lex.yy.c: xroff.lex
flex xroff.lex
+
+README: README.t
+ <README.t groff -ms -Tlatin1 | sed "s/\x1b\[[0-9;]*[a-zA-Z]//g" >README
+
+README.t: README.x
+ <README.x ./xroff >README.t