commit 665ff9734e889a3f8ada919ad8ff9182d544da7d parent b66af52007e47607402af991471f4963d9a17e7f Author: Robert Russell <robertrussell.72001@gmail.com> Date: Tue, 16 Jul 2024 22:28:27 -0700 Add README and Makefile target to generate it Diffstat:
| M | Makefile | | | 3 | +++ |
| A | README | | | 16 | ++++++++++++++++ |
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -5,6 +5,9 @@ include config.mk httpserve: httpserve.go go build +README: httpserve.1 + man ./httpserve.1 | col -b > README + install: httpserve mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f httpserve $(DESTDIR)$(PREFIX)/bin/ diff --git a/README b/README @@ -0,0 +1,16 @@ +HTTPSERVE(1) User Commands HTTPSERVE(1) + +NAME + httpserve - simple static HTTP server + +SYNOPSIS + tlsrp tcp [host]:[port] root + tlsrp unix path root + +DESCRIPTION + httpserve serves static content on the given TCP or Unix address. For + TCP, host defaults to all available unicast and anycast IP addresses of + the local system, and port defaults to being automatically chosen (and + logged to stderr). + +httpserve 2024-07-16 HTTPSERVE(1)