[neon/backports-focal/libaqbanking/Neon/release] debian: Migrate manpage generation from asciidoc to asciidoctor
Micha Lenk
null at kde.org
Wed Mar 24 09:53:22 GMT 2021
Git commit 81a23d6e2a5a9ce9f49e768b7553b906c0170b57 by Micha Lenk.
Committed on 08/03/2020 at 21:29.
Pushed by jriddell into branch 'Neon/release'.
Migrate manpage generation from asciidoc to asciidoctor
M +1 -2 debian/control
M +7 -10 debian/doc/Makefile
https://invent.kde.org/neon/backports-focal/libaqbanking/commit/81a23d6e2a5a9ce9f49e768b7553b906c0170b57
diff --git a/debian/control b/debian/control
index 6de20d4..8a5074f 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,7 @@ Build-Depends: debhelper (>= 9.20160114), dh-autoreconf, pkg-config,
doxygen,
bzip2,
libgmp10-dev,
- asciidoc,
- xmlto
+ asciidoctor
Standards-Version: 4.5.0
Homepage: http://www.aquamaniac.de/aqbanking/
Vcs-Browser: https://salsa.debian.org/aqbanking-team/pkg-libaqbanking
diff --git a/debian/doc/Makefile b/debian/doc/Makefile
index 2a1b0fc..9e8a0aa 100644
--- a/debian/doc/Makefile
+++ b/debian/doc/Makefile
@@ -2,11 +2,11 @@ version := $(shell dpkg-parsechangelog -l../changelog | sed -nr 's/^Version: (.*
all: aqhbci-tool4.1 aqbanking-config.1 dh_aqbanking.1
-aqhbci-tool4.1.xml: aqhbci-tool4.1.txt aqhbci-tool4.1.generated.txt
- asciidoc -d manpage -b docbook $<
+aqhbci-tool4.1: aqhbci-tool4.1.txt aqhbci-tool4.1.generated.txt
+ asciidoctor -d manpage -b manpage $<
-aqbanking-config.1.xml: aqbanking-config.1.txt aqbanking-config.1.generated.txt
- asciidoc -d manpage -b docbook $<
+aqbanking-config.1: aqbanking-config.1.txt aqbanking-config.1.generated.txt
+ asciidoctor -d manpage -b manpage $<
aqhbci-tool4.1.generated.txt: ../../src/tools/aqbanking-cli/aqhbci-tool4
$< --help \
@@ -18,16 +18,13 @@ aqbanking-config.1.generated.txt: ../../aqbanking-config
| sed -e 's/^Usage:.*//;s/^.*aqbanking-config --\(\w\+\)/--\1::\n/;' \
> $@
-%.xml: %.txt
- asciidoc -d manpage -b docbook $*.txt
-
-%: %.xml
- xmlto man $*.xml
+%: %.txt
+ asciidoctor -d manpage -b manpage $*.txt
dh_aqbanking.1:
pod2man -r "libaqbanking $(version)" -c dh_aqbanking --section=1 ../debhelper/dh_aqbanking dh_aqbanking.1
clean:
- rm -f *.generated.txt *.xml *.1
+ rm -f *.generated.txt *.1
.PHONY: all clean
More information about the Neon-commits
mailing list