aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Meißner <936176+t-nil@users.noreply.github.com>2024-02-14 22:12:34 +0100
committerGitHub <noreply@github.com>2024-02-14 21:12:34 +0000
commitfb44020fa98e47620b3aa1dab94b4c5b7bfb40bd (patch)
tree639cc199378acbc94a09cfcffa1d721115166357
parent3dc9232e1aa58fe3c2d8cafb50e8162d6f0e891e (diff)
[build:Makefile] Fix man pages generated by `pandoc>=3` (#7047)
Closes #7046, Closes #8481 Authored by: t-nil
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2f36c0cd1..5dddaaecc 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ PYTHON ?= /usr/bin/env python3
SYSCONFDIR = $(shell if [ $(PREFIX) = /usr -o $(PREFIX) = /usr/local ]; then echo /etc; else echo $(PREFIX)/etc; fi)
# set markdown input format to "markdown-smart" for pandoc version 2 and to "markdown" for pandoc prior to version 2
-MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d" " -f2 | head -c1` = "2" ]; then echo markdown-smart; else echo markdown; fi)
+MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d" " -f2 | head -c1` -ge "2" ]; then echo markdown-smart; else echo markdown; fi)
install: lazy-extractors yt-dlp yt-dlp.1 completions
mkdir -p $(DESTDIR)$(BINDIR)