summaryrefslogtreecommitdiff
path: root/user/nftables/asciidoctor.patch
blob: d290f6530e82f29666f2d8e2692baca060400730 (plain) (blame)
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
From ee7aad965b044bb555dc9fe27991c0e05f14e7dc Mon Sep 17 00:00:00 2001
From: Mira Ressel <aranea@aixah.de>
Date: Tue, 9 Jul 2019 18:02:57 +0200
Subject: [PATCH] We're using asciidoctor instead of a2x; adjust options
 accordingly

This needs more work; asciidoctor doesn't process nftables' asciidoc
markup correctly.
---
 doc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 01e1af9..7776932 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,7 +2,7 @@ if BUILD_MAN
 man_MANS = nft.8 libnftables-json.5 libnftables.3
 endif
 
-A2X_OPTS_MANPAGE = -L --doctype manpage --format manpage -D ${builddir}
+A2X_OPTS_MANPAGE = --doctype manpage --backend manpage -D ${builddir}
 
 ASCIIDOC_MAIN = nft.txt
 ASCIIDOC_INCLUDES = \
-- 
2.22.0