Browse Source

Use asciidoc to build the manpage

This is upstream's choice, using asciidoctor was from a time when
asciidoc seemed to be abandoned.
Christoph Biedl 17 hours ago
parent
commit
e51ea17a28

+ 1 - 1
debian/control

@@ -5,7 +5,7 @@ Standards-Version: 4.7.2
 Vcs-Browser: https://git.in-ulm.de/cbiedl/luksmeta
 Vcs-Git: https://git.in-ulm.de/cbiedl/luksmeta.git
 Build-Depends: debhelper-compat (= 13),
-    asciidoctor,
+    asciidoc,
     cryptsetup-bin,
     libcryptsetup-dev (>= 2:1.5.1),
     pkgconf,

+ 0 - 27
debian/patches/local.use-asciidoctor-to-build-manpages.patch

@@ -1,27 +0,0 @@
-Subject: Use asciidoctor to build the manpages
-Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
-Date: 2018-08-11
-Bug: https://github.com/latchset/tang/issues/32
-
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -20,7 +20,7 @@
- 
- $(top_builddir)/%.roff: %.adoc
- 	$(MKDIR_P) $$(dirname $@)
--	$(A2X) -v -f manpage $^ -D $(top_builddir)/$$(dirname $@)
-+	$(A2X) -v --attribute reproducible --backend=manpage $^ -D $(top_builddir)/$$(dirname $@)
- 	$(INSTALL) -m 644 $(top_builddir)/$(@:.roff=) $(top_builddir)/$@
- 
- man8_MANS = luksmeta.8
---- a/configure.ac
-+++ b/configure.ac
-@@ -33,7 +33,7 @@
- "
- AC_SUBST([LUKSMETA_CFLAGS])
- 
--AC_CHECK_PROGS(A2X, [a2x])
-+AC_CHECK_PROGS(A2X, [asciidoctor])
- 
- if test "x$A2X" = "x"; then
-    AC_MSG_WARN([asciidoc / a2x not found -- man pages will not be generated and installed!])

+ 0 - 1
debian/patches/series

@@ -3,4 +3,3 @@
 # local patches
 local.test-luksmeta.patch
 local.dont-fail-tests-for-disabled-module-load.patch
-local.use-asciidoctor-to-build-manpages.patch