2011-08-16 20:13:59 +08:00
|
|
|
MAN8_FILES = \
|
2009-09-13 06:02:38 +08:00
|
|
|
tinyproxy.txt
|
|
|
|
|
|
|
|
A2X_ARGS = \
|
|
|
|
-d manpage \
|
|
|
|
-f manpage
|
|
|
|
|
|
|
|
man_MANS = \
|
|
|
|
$(MAN8_FILES:.txt=.8)
|
|
|
|
|
|
|
|
.txt.8:
|
|
|
|
if HAVE_A2X
|
2009-11-14 18:17:51 +08:00
|
|
|
$(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
|
|
|
|
|
2009-09-14 18:12:43 +08:00
|
|
|
CLEANFILES = \
|
2009-11-14 18:46:49 +08:00
|
|
|
$(MAN8_FILES:.txt=.8) \
|
2009-09-14 18:12:43 +08:00
|
|
|
$(MAN8_FILES:.txt=.xml)
|
2016-12-21 04:07:23 +08:00
|
|
|
|
|
|
|
EXTRA_DIST= \
|
|
|
|
$(MAN8_FILES:.txt=.8)
|