From 729c429769e7409a695fa69bfa05c20ef3f41b79 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Apr 2019 08:17:01 -0400 Subject: feh(1): Distinguish between enabled/disabled features more clearly --- config.mk | 12 ++++++------ man/feh.pre | 32 +++++++++++++++++++++++++------- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/config.mk b/config.mk index fc9b5da..0a8c0e4 100644 --- a/config.mk +++ b/config.mk @@ -50,9 +50,9 @@ endif ifeq (${debug},1) CFLAGS += -DDEBUG -O0 - MAN_DEBUG = . This is a debug build. + MAN_DEBUG = This is a debug build. else - MAN_DEBUG = + MAN_DEBUG = . endif ifeq (${help},1) @@ -65,9 +65,9 @@ endif ifeq (${verscmp},1) CFLAGS += -DHAVE_VERSCMP - MAN_VERSCMP = enabled + MAN_VERSCMP = available else - MAN_VERSCMP = disabled + MAN_VERSCMP = not available endif ifeq (${xinerama},1) @@ -81,9 +81,9 @@ endif ifeq (${exif},1) CFLAGS += -DHAVE_LIBEXIF LDLIBS += -lexif - MAN_EXIF = enabled + MAN_EXIF = available else - MAN_EXIF = disabled + MAN_EXIF = not available endif ifeq (${inotify},1) diff --git a/man/feh.pre b/man/feh.pre index c783d2b..a313fd4 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -24,10 +24,28 @@ $VERSION$ . .Pp . -Compile-time switches: libcurl support $MAN_CURL$, natural sorting support -$MAN_VERSCMP$, Xinerama support -$MAN_XINERAMA$, builtin EXIF support $MAN_EXIF$, inotify-based auto-reload -$MAN_INOTIFY$$MAN_DEBUG$ +Compile-time switches in this build: +. +.Bl -bullet -compact +. +.It +remote file support: libcurl $MAN_CURL$ +. +.It +natural sorting option $MAN_VERSCMP$ +. +.It +Xinerama multi-monitor support $MAN_XINERAMA$ +. +.It +builtin EXIF reader $MAN_EXIF$ +. +.It +inotify-based auto-reload of changed files $MAN_INOTIFY$ +. +.El +. +$MAN_DEBUG$ . . .Sh DESCRIPTION @@ -213,9 +231,9 @@ Extra actions which can be set and triggered using the appropriate number key. . .Pq optional feature, $MAN_INOTIFY$ in this build automatically reload image when the underlying file changes. -Note that this feature -.Pq if present in the build -is enabled by default. +Note that auto-reload +.Pq if enabled in the build +is on by default. This option is only useful to re-enable auto-reload after it has been disabled by a preceding .Cm --reload=0 -- cgit v1.2.3