summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-18 08:17:01 -0400
committerDaniel Friesel <derf@finalrewind.org>2019-04-18 08:17:01 -0400
commit729c429769e7409a695fa69bfa05c20ef3f41b79 (patch)
treeb6c16c3045c2e9bb35bed01f14a5e1354fafdcf1
parent6920ca2aa23ffe9fc7da3eaf5dbbae2cd8c2788e (diff)
feh(1): Distinguish between enabled/disabled features more clearly
-rw-r--r--config.mk12
-rw-r--r--man/feh.pre32
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