From bd94515a788a0f43d55132342a94a48cfb714f54 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 18 Mar 2022 19:25:33 +0100 Subject: Makefile: Drop README.md from man page requisites I believe at some point I added the `README.md` to the prerequisites for the man pages so we wouldn't forget to update them whenever the README was touched. This hasn't worked very well and it often makes particularly the rifle man page regenerate when not needed. --- Makefile | 4 ++-- doc/ranger.1 | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3479bb2d..568ebd42 100644 --- a/Makefile +++ b/Makefile @@ -135,13 +135,13 @@ test_other: test: test_py test_shellcheck @echo "$(bold)Finished testing: All tests passed!$(normal)" -doc/ranger.1: doc/ranger.pod README.md +doc/ranger.1: doc/ranger.pod pod2man --stderr --center='ranger manual' \ --date='$(NAME)-$(VERSION)' \ --release=$(shell date -u '+%Y-%m-%d') \ doc/ranger.pod doc/ranger.1 -doc/rifle.1: doc/rifle.pod README.md +doc/rifle.1: doc/rifle.pod pod2man --stderr --center='rifle manual' \ --date='$(NAME_RIFLE)-$(VERSION_RIFLE)' \ --release=$(shell date -u '+%Y-%m-%d') \ diff --git a/doc/ranger.1 b/doc/ranger.1 index 22c2adc6..377930ed 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.3" "2022-02-27" "ranger manual" +.TH RANGER 1 "ranger-1.9.3" "2022-03-18" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -318,11 +318,13 @@ are automatically used when available but completely optional. .IP "\-" 2 \&\f(CW\*(C`atool\*(C'\fR, \f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR and/or \f(CW\*(C`7z\*(C'\fR to preview archives .IP "\-" 2 -\&\f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`tar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR, \f(CW\*(C`unzip\*(C'\fR and/or \f(CW\*(C`zipinfo\*(C'\fR (and \f(CW\*(C`sed\*(C'\fR) to preview archives as their first image +\&\f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`tar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR, \f(CW\*(C`unzip\*(C'\fR and/or \f(CW\*(C`zipinfo\*(C'\fR (and \f(CW\*(C`sed\*(C'\fR) to preview +archives as their first image .IP "\-" 2 \&\f(CW\*(C`lynx\*(C'\fR, \f(CW\*(C`w3m\*(C'\fR or \f(CW\*(C`elinks\*(C'\fR to preview html pages .IP "\-" 2 -\&\f(CW\*(C`pdftotext\*(C'\fR or \f(CW\*(C`mutool\*(C'\fR (and \f(CW\*(C`fmt\*(C'\fR) for textual pdf previews, \f(CW\*(C`pdftoppm\*(C'\fR to preview as image +\&\f(CW\*(C`pdftotext\*(C'\fR or \f(CW\*(C`mutool\*(C'\fR (and \f(CW\*(C`fmt\*(C'\fR) for textual pdf previews, \f(CW\*(C`pdftoppm\*(C'\fR to +preview as image .IP "\-" 2 \&\f(CW\*(C`djvutxt\*(C'\fR for textual DjVu previews, \f(CW\*(C`ddjvu\*(C'\fR to preview as image .IP "\-" 2 @@ -337,6 +339,8 @@ are automatically used when available but completely optional. \&\f(CW\*(C`python\*(C'\fR or \f(CW\*(C`jq\*(C'\fR for \s-1JSON\s0 files .IP "\-" 2 \&\f(CW\*(C`fontimage\*(C'\fR for font previews +.IP "\-" 2 +\&\f(CW\*(C`openscad\*(C'\fR for 3D model previews (stl, off, dxf, scad, csg) .RE .RS 2 .RE -- cgit 1.4.1-2-gfad0