tinyproxy/docs/man5/Makefile.am
2009-11-14 15:40:57 +05:30

23 lines
314 B
Makefile

MAN5_FILES = \
tinyproxy.conf.txt
A2X_ARGS = \
-d manpage \
-f manpage
man_MANS = \
$(MAN5_FILES:.txt=.5)
.txt.5:
if HAVE_A2X
a2x $(A2X_ARGS) $<
else
@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
endif
EXTRA_DIST = \
$(man_MANS)
CLEANFILES = \
$(MAN5_FILES:.txt=.xml)