summaryrefslogtreecommitdiffhomepage
path: root/docs/man8/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man8/Makefile.am')
-rw-r--r--docs/man8/Makefile.am26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/man8/Makefile.am b/docs/man8/Makefile.am
index 1bd0ffa..d2d7e19 100644
--- a/docs/man8/Makefile.am
+++ b/docs/man8/Makefile.am
@@ -1,25 +1,25 @@
-MAN8_FILES = \
+if HAVE_MANPAGE_INTEREST
+MAN8_FILES = \
tinyproxy.txt
-
-if HAVE_XMLLINT
-A2X_ARGS = -d manpage -f manpage
-else
-A2X_ARGS = -d manpage -f manpage -L
endif
+M_SECTION=8
+M_NAME=TINYPROXY
+
man_MANS = \
$(MAN8_FILES:.txt=.8)
.txt.8:
-if HAVE_A2X
- $(AM_V_GEN) $(A2X) $(A2X_ARGS) $<
+if HAVE_POD2MAN
+ $(AM_V_GEN) $(POD2MAN) --center="Tinyproxy manual" \
+ --section=$(M_SECTION) --name=$(M_NAME) --release="Version @VERSION@" \
+ $< > $@
else
- @echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
+ @echo "*** pod2man is required to regenerate $(@) ***"; exit 1;
endif
-CLEANFILES = \
- $(MAN8_FILES:.txt=.8) \
- $(MAN8_FILES:.txt=.xml)
+MAINTAINERCLEANFILES = \
+ $(MAN8_FILES:.txt=.8)
-EXTRA_DIST= \
+EXTRA_DIST = \
$(MAN8_FILES:.txt=.8)