This series replaces Peff's solo patch[1] which updates "make clean" to remove doc-diff's temporary directory. Rather than imbuing the Makefile with knowledge specific to doc-diff's internals, this series adds a "clean" mode to doc-diff which removes its temporary worktree and generated files, and has "make clean" invoke that instead. It also fixes a portability problem which prevented doc-diff from working on MacOS and FreeBSD. [1]: https://public-inbox.org/git/20180830195546.GA22407@xxxxxxxxxxxxxxxxxxxxx/ Eric Sunshine (3): doc-diff: fix non-portable 'man' invocation doc-diff: add --clean mode to remove temporary working gunk doc/Makefile: drop doc-diff worktree and temporary files on "make clean" Documentation/Makefile | 1 + Documentation/doc-diff | 21 +++++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) -- 2.19.0.rc1.352.gb1634b371d