tinyproxy/doc/man8/Makefile.am

24 lines
359 B
Makefile
Raw Normal View History

2009-09-13 06:02:38 +08:00
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 = \
$(MAN8_FILES) \
$(man_MANS)
clean-local:
rm -f $(MAN8_FILES:.txt=.8) $(MAN1_FILES:.txt=.xml)