commit f26662090abb134be84a18aa7c3ad0a005c605e0
parent ae5fb3bb5e58afaa8bbe22df8fbb47784ada1f73
Author: Robert Russell <robertrussell.72001@gmail.com>
Date: Tue, 16 Jul 2024 22:31:56 -0700
Add Makefile target to generate the README
For some reason man appears to assume tabs are 7 spaces...
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -5,6 +5,9 @@ include config.mk
tlsrp: tlsrp.go config.go hostname.go
go build
+README: tlsrp.1
+ man ./tlsrp.1 | col -b | sed 's/\t/ /g' > README
+
install: tlsrp
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f tlsrp $(DESTDIR)$(PREFIX)/bin/
diff --git a/README b/README
@@ -1,4 +1,4 @@
-TLSRP(1) User Commands TLSRP(1)
+TLSRP(1) User Commands TLSRP(1)
NAME
tlsrp - TLS reverse proxy
@@ -57,4 +57,4 @@ EXAMPLE
SEE ALSO
RFC 3546 <https://www.rfc-editor.org/rfc/rfc3546>
-tlsrp 2024-07-15 TLSRP(1)
+tlsrp 2024-07-15 TLSRP(1)