2020-08-12 07:15:45 +08:00
|
|
|
if HAVE_MANPAGE_INTEREST
|
2009-09-19 12:27:24 +08:00
|
|
|
MAN5_FILES = \
|
|
|
|
tinyproxy.conf.txt
|
2020-08-12 07:15:45 +08:00
|
|
|
endif
|
2009-09-19 12:27:24 +08:00
|
|
|
|
2016-12-28 02:53:02 +08:00
|
|
|
if HAVE_XMLLINT
|
|
|
|
A2X_ARGS = -d manpage -f manpage
|
|
|
|
else
|
|
|
|
A2X_ARGS = -d manpage -f manpage -L
|
|
|
|
endif
|
2009-09-19 12:27:24 +08:00
|
|
|
|
2020-08-11 21:52:16 +08:00
|
|
|
ASCIIDOCTOR_ARGS = -b manpage
|
|
|
|
|
2009-09-19 12:27:24 +08:00
|
|
|
man_MANS = \
|
|
|
|
$(MAN5_FILES:.txt=.5)
|
|
|
|
|
|
|
|
.txt.5:
|
|
|
|
if HAVE_A2X
|
2009-11-14 18:17:51 +08:00
|
|
|
$(AM_V_GEN) $(A2X) $(A2X_ARGS) $<
|
2009-09-19 12:27:24 +08:00
|
|
|
else
|
2020-08-11 21:52:16 +08:00
|
|
|
if HAVE_ASCIIDOCTOR
|
|
|
|
$(AM_V_GEN) $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) $<
|
|
|
|
else
|
|
|
|
@echo "*** a2x (asciidoc) or asciidoctor is required to regenerate $(@) ***"; exit 1;
|
|
|
|
endif
|
2009-09-19 12:27:24 +08:00
|
|
|
endif
|
|
|
|
|
2020-08-12 00:48:57 +08:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
$(MAN5_FILES:.txt=.5)
|
|
|
|
|
2009-09-19 12:27:24 +08:00
|
|
|
CLEANFILES = \
|
|
|
|
$(MAN5_FILES:.txt=.xml)
|
2016-12-21 04:07:23 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(MAN5_FILES:.txt=.5)
|