diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-08-11 16:48:57 +0000 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-08-11 18:00:34 +0100 |
commit | 77853caa0ab043cb80d9d69864141f800502bb4a (patch) | |
tree | c13d636c1f6aa553a76447eacb30f160cbf6037f /docs/man5/Makefile.am | |
parent | 8ceebbf0c6996fa8a41da8c646294b6bd4c24c9f (diff) |
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`.
Diffstat (limited to 'docs/man5/Makefile.am')
-rw-r--r-- | docs/man5/Makefile.am | 4 |
1 files changed, 3 insertions, 1 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 = \ |