From 77853caa0ab043cb80d9d69864141f800502bb4a Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 11 Aug 2020 16:48:57 +0000 Subject: [PATCH] move manpages to maintainer-clean make target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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`. --- docs/man5/Makefile.am | 4 +++- docs/man8/Makefile.am | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/man5/Makefile.am b/docs/man5/Makefile.am index 48e5b03..0428e51 100644 --- a/docs/man5/Makefile.am +++ b/docs/man5/Makefile.am @@ -23,8 +23,10 @@ else endif endif +MAINTAINERCLEANFILES = \ + $(MAN5_FILES:.txt=.5) + CLEANFILES = \ - $(MAN5_FILES:.txt=.5) \ $(MAN5_FILES:.txt=.xml) EXTRA_DIST = \ diff --git a/docs/man8/Makefile.am b/docs/man8/Makefile.am index 5e2f390..bf2c09c 100644 --- a/docs/man8/Makefile.am +++ b/docs/man8/Makefile.am @@ -23,8 +23,10 @@ else endif endif +MAINTAINERCLEANFILES = \ + $(MAN8_FILES:.txt=.8) + CLEANFILES = \ - $(MAN8_FILES:.txt=.8) \ $(MAN8_FILES:.txt=.xml) EXTRA_DIST= \