move manpages to maintainer-clean make target

according to https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
`maintainer-clean` is the proper make target for files that are distributed
in a release tarball:

> The ‘maintainer-clean’ target is intended to be used by a maintainer of the
> package, not by ordinary users.
> You may need special tools to reconstruct some of the files that
> ‘make maintainer-clean’ deletes.

this prevents users without a2x or asciidoctor from losing their ability to
recompile tinyproxy after `make clean`, but it also means that users wanting
to regenerate the documentation need to run `make maintainer-clean`.
This commit is contained in:
rofl0r 2020-08-11 16:48:57 +00:00
parent 8ceebbf0c6
commit 77853caa0a
2 changed files with 6 additions and 2 deletions

View File

@ -23,8 +23,10 @@ else
endif
endif
MAINTAINERCLEANFILES = \
$(MAN5_FILES:.txt=.5)
CLEANFILES = \
$(MAN5_FILES:.txt=.5) \
$(MAN5_FILES:.txt=.xml)
EXTRA_DIST = \

View File

@ -23,8 +23,10 @@ else
endif
endif
MAINTAINERCLEANFILES = \
$(MAN8_FILES:.txt=.8)
CLEANFILES = \
$(MAN8_FILES:.txt=.8) \
$(MAN8_FILES:.txt=.xml)
EXTRA_DIST= \