summaryrefslogtreecommitdiffstats
path: root/maybe-make-man
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:15:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:15:00 +0000
commit8a3c845cc84808ecb764b2c7e4fa61afeee42bc5 (patch)
tree7d268ac827524ace3905eef2b5a5b3b80e275ee6 /maybe-make-man
parentAdding upstream version 3.2.7. (diff)
downloadrsync-8a3c845cc84808ecb764b2c7e4fa61afeee42bc5.tar.xz
rsync-8a3c845cc84808ecb764b2c7e4fa61afeee42bc5.zip
Adding upstream version 3.3.0.upstream/3.3.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'maybe-make-man')
-rwxr-xr-xmaybe-make-man9
1 files changed, 8 insertions, 1 deletions
diff --git a/maybe-make-man b/maybe-make-man
index 0dc1730..c7af739 100755
--- a/maybe-make-man
+++ b/maybe-make-man
@@ -8,6 +8,7 @@ fi
inname="$1"
srcdir=`dirname "$0"`
flagfile="$srcdir/.md2man-works"
+force_flagfile="$srcdir/.md2man-force"
if [ ! -f "$flagfile" ]; then
# We test our smallest manpage just to see if the python setup works.
@@ -32,4 +33,10 @@ if [ ! -f "$flagfile" ]; then
fi
fi
-"$srcdir/md-convert" "$srcdir/$inname"
+if [ -f "$force_flagfile" ]; then
+ opt='--force-link-text'
+else
+ opt=''
+fi
+
+"$srcdir/md-convert" $opt "$srcdir/$inname"