tinyproxy/docs/man8/Makefile.am

26 lines
407 B
Makefile
Raw Normal View History

2011-08-16 20:13:59 +08:00
MAN8_FILES = \
2009-09-13 06:02:38 +08:00
tinyproxy.txt
if HAVE_XMLLINT
A2X_ARGS = -d manpage -f manpage
else
A2X_ARGS = -d manpage -f manpage -L
endif
2009-09-13 06:02:38 +08:00
man_MANS = \
$(MAN8_FILES:.txt=.8)
.txt.8:
if HAVE_A2X
$(AM_V_GEN) $(A2X) $(A2X_ARGS) $<
2009-09-13 06:02:38 +08:00
else
@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
endif
CLEANFILES = \
$(MAN8_FILES:.txt=.8) \
$(MAN8_FILES:.txt=.xml)
EXTRA_DIST= \
$(MAN8_FILES:.txt=.8)