909528e29c
`make dist` now creates the manpages and puts them into the tarball, so the user does not need to have `a2x` installed to build them. closes #2
24 lines
357 B
Makefile
24 lines
357 B
Makefile
MAN5_FILES = \
|
|
tinyproxy.conf.txt
|
|
|
|
A2X_ARGS = \
|
|
-d manpage \
|
|
-f manpage
|
|
|
|
man_MANS = \
|
|
$(MAN5_FILES:.txt=.5)
|
|
|
|
.txt.5:
|
|
if HAVE_A2X
|
|
$(AM_V_GEN) $(A2X) $(A2X_ARGS) $<
|
|
else
|
|
@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
|
|
endif
|
|
|
|
CLEANFILES = \
|
|
$(MAN5_FILES:.txt=.5) \
|
|
$(MAN5_FILES:.txt=.xml)
|
|
|
|
EXTRA_DIST = \
|
|
$(MAN5_FILES:.txt=.5)
|