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 committed 2020-08-11 18:00:34 +01:00
1 parent 8ceebbf0c6
commit 77853caa0a
2 files changed
+6 -2

No files matched your search

+3 -1
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 = \