summaryrefslogtreecommitdiff
path: root/docs/man8/Makefile.am
blob: b9eefaa896c5e7c0acad6b994ddf64f6d47b8e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
MAN8_FILES  = \
	tinyproxy.txt

A2X_ARGS = \
	-d manpage \
	-f manpage

man_MANS = \
	$(MAN8_FILES:.txt=.8)

.txt.8:
if HAVE_A2X
	a2x $(A2X_ARGS) $<
else
	@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
endif

EXTRA_DIST = \
        $(man_MANS)

CLEANFILES = \
	$(MAN8_FILES:.txt=.8) \
	$(MAN8_FILES:.txt=.xml)