summaryrefslogtreecommitdiffhomepage
path: root/docs/man8
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-08-12 00:15:45 +0100
committerrofl0r <rofl0r@users.noreply.github.com>2020-08-12 00:15:45 +0100
commit5ba958829f73ecc02658a46f5b1bba5ffed2281d (patch)
tree68bacaf4eaec17e53b884fdde86bffde1ba301f7 /docs/man8
parente1d36d3f74f02b74429d92dd9af6fcab05038dad (diff)
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.
Diffstat (limited to 'docs/man8')
-rw-r--r--docs/man8/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/man8/Makefile.am b/docs/man8/Makefile.am
index bf2c09c..0d1eda1 100644
--- a/docs/man8/Makefile.am
+++ b/docs/man8/Makefile.am
@@ -1,5 +1,7 @@
+if HAVE_MANPAGE_INTEREST
MAN8_FILES = \
tinyproxy.txt
+endif
if HAVE_XMLLINT
A2X_ARGS = -d manpage -f manpage