commit 6f36d2a0fc5de0a9d25229c47c75481f47f32c87
parent 144693a3d001a436abaa37f11b1c1c2bdf88c813
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 20 Sep 2020 22:37:44 -0400
gmnlm: add install target & man page
Diffstat:
2 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -13,6 +13,7 @@ gmnlm: $(gmnlm_objects)
@$(CC) $(LDFLAGS) $(LIBS) -o $@ $(gmnlm_objects)
doc/gmni.1: doc/gmni.scd
+doc/gmnlm.1: doc/gmnlm.scd
.SUFFIXES: .c .o .scd .1
@@ -27,10 +28,10 @@ doc/gmni.1: doc/gmni.scd
@printf 'SCDOC\t$@\n'
@$(SCDOC) < $< > $@
-docs: doc/gmni.1
+docs: doc/gmni.1 doc/gmnlm.1
clean:
- @rm -f gmni doc/gmni.1
+ @rm -f gmni doc/gmni.1 doc/gmnlm.1
distclean: clean
@rm -rf "$(OUTDIR)"
@@ -39,6 +40,8 @@ install: all
mkdir -p $(BINDIR)
mkdir -p $(MANDIR)/man1
install -Dm755 gmni $(BINDIR)/gmni
+ install -Dm755 gmnlm $(BINDIR)/gmnlm
install -Dm644 doc/gmni.1 $(MANDIR)/man1/gmni.1
+ install -Dm644 doc/gmnlm.1 $(MANDIR)/man1/gmnlm.1
.PHONY: clean distclean docs install
diff --git a/doc/gmnlm.scd b/doc/gmnlm.scd
@@ -0,0 +1,22 @@
+gmnlm(1)
+
+# NAME
+
+gmnlm - Gemini line-mode browser
+
+# SYNPOSIS
+
+*gmnlm* [-PU] _gemini://..._
+
+# DESCRIPTION
+
+*gmnlm* is an interactive line-mode Gemini browser.
+
+# OPTIONS
+
+*-P*
+ Disable pagination.
+
+*-U*
+ Disable conservative use of Unicode symbols to render Gemini layout
+ features.