add configure option to disable manpage generation

using --disable-manpage-support it's finally possibly to disable
the formerly obligatory use of a2x to generate the manpage
documentation.

this is the final solution to the decade old problem that users need
to install the enormous asciidoc package to compile TINYproxy from
source, or otherwise get a build error, even though the vast majority
is only interested in the program itself.

solution was inspired by PR #179.

closes #179
closes #111

note that since 1.10.0 release the generated release tarball includes
the generated manpages too; in which case neither the use of a2x
nor --disable-manpage-support is required.
This commit is contained in:
rofl0r committed 2020-08-12 00:15:45 +01:00
1 parent e1d36d3f74
commit 5ba958829f
3 files changed
+31 -6

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
if HAVE_MANPAGE_INTEREST
MAN8_FILES = \
tinyproxy.txt
endif
if HAVE_XMLLINT
A2X_ARGS = -d manpage -f manpage