Re: [PATCH 3/3] doc/Makefile: drop doc-diff worktree and temporary files on "make clean"
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Sep 17, 2018, 18:32 UTC
- Message-ID
- <20180917183258.GC140909@aiede.svl.corp.google.com>
- In-Reply-To
- <20180831063318.33373-4-sunshine@sunshineco.com>
Hi,
Eric Sunshine wrote:
Show 22 quoted lines
> doc-diff creates a temporary working tree (git-worktree) and generates a > bunch of temporary files which it does not remove since they act as a > cache to speed up subsequent runs. Although doc-diff's working tree and > generated files are not strictly build products of the Makefile (which, > itself, never runs doc-diff), as a convenience, update "make clean" to > clean up doc-diff's working tree and generated files along with other > development detritus normally removed by "make clean". > > Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> > --- > Documentation/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/Makefile b/Documentation/Makefile > index a42dcfc745..26e268ae8d 100644 > --- a/Documentation/Makefile > +++ b/Documentation/Makefile > @@ -332,6 +332,7 @@ clean: > $(RM) SubmittingPatches.txt > $(RM) $(cmds_txt) $(mergetools_txt) *.made > $(RM) manpage-base-url.xsl > + '$(SHELL_PATH_SQ)' ./doc-diff --clean
This means I need a copy of git in order to run "make clean". That was never required before. It makes bootstrapping difficult --- do we really need it?
Thanks, Jonathan