From 2ad9177830e41802b673d1fe513bca883c5e496b Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 18 Jun 2025 16:29:13 +0900 Subject: Follow help2man's recommendations * Use argv[0] as help text's prog * End help text with bug report instruction * Include copyright and authorship in version text --- doc/Makefile | 7 +++---- doc/common.h2m | 12 ------------ 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 doc/common.h2m (limited to 'doc') diff --git a/doc/Makefile b/doc/Makefile index 47e8669..ed6b571 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -23,16 +23,15 @@ PREFIX ?= /usr/local BINDIR ::= $(DESTDIR)$(PREFIX)/bin MANDIR ::= $(DESTDIR)$(PREFIX)/share/man MAN1 ::= scadere-check.1 scadere-listen.1 -MAN1FLAGS ::= -s 1 --source=Scadere --locale=en_US.UTF-8\ - --include=common.h2m --no-info +MAN1FLAGS ::= -s 1 --source=Scadere --locale=en_US.UTF-8 --no-info all: $(MAN1) -scadere-check.1: $(BINDIR)/scadere-check check.h2m common.h2m +scadere-check.1: $(BINDIR)/scadere-check check.h2m help2man --name='TLS certificate expiration checker'\ $(MAN1FLAGS) --include=check.h2m --output=$@ $< -scadere-listen.1: $(BINDIR)/scadere-listen listen.h2m common.h2m +scadere-listen.1: $(BINDIR)/scadere-listen listen.h2m help2man --name='Atom feed server to remind of TLS certificate renewal'\ $(MAN1FLAGS) --include=listen.h2m --output=$@ $< diff --git a/doc/common.h2m b/doc/common.h2m deleted file mode 100644 index 4ec20c3..0000000 --- a/doc/common.h2m +++ /dev/null @@ -1,12 +0,0 @@ -[author] -Written by Nguyễn Gia Phong. - -[reporting bugs] -Issues should be reported to . - -[copyright] -This is free software: you are can redistribute and/or modify it -under the terms of the GNU Affero General Public License version 3 or later -. - -There is NO WARRANTY, to the extent permitted by law. -- cgit 1.4.1