summaryrefslogtreecommitdiff
path: root/backport-revert-Permit-building-rpm-from-git-without-pandoc.patch
blob: 9874031866b214a8c55869130500c3b5631e0959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 9841eed905b9433dc5d89583d34e4590842aa582 Mon Sep 17 00:00:00 2001
From: Panu Matilainen <pmatilai@redhat.com>
Date: Wed, 5 Oct 2022 09:21:09 +0300
Subject: [PATCH] Permit building rpm from git without pandoc

Pandoc is only required for converting .md to man pages, which is not
terribly interesting unless you're creating a dist tarball. We already
have an automake conditional for pandoc, might as well use it.
"make dist" will still fail without pandoc, but that's exactly how we
want it.

(cherry picked from commit 1b8f7a182fe917ed5af5086d715cae529540a4d3)
---
 docs/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 89b92e3..a93b669 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,8 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-if PANDOC
 SUBDIRS = man
-endif
 
 EXTRA_DIST =
 
-- 
2.27.0