diff options
author | Ramsay Jones <ramsay@ramsayjones.plus.com> | 2020-12-08 22:36:33 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-08 16:56:56 -0800 |
commit | c5312033dd81771def2268d57f64e5551d9e11bf (patch) | |
tree | cfc235fd2df74af9690fc964c0c2a94aa7e49a99 /prune-packed.c | |
parent | Makefile: don't try to clean old debian build product (diff) | |
download | tgif-c5312033dd81771def2268d57f64e5551d9e11bf.tar.xz |
Makefile: don't use a versioned temp distribution directory
The 'dist' target uses a versioned temp directory, $(GIT_TARNAME), into
which it copies various files added to the distribution tarball. Should
it be necessary to remove this directory in the 'clean' target, since
the name depends on $(GIT_VERSION), the current HEAD must be positioned
on the same commit as when 'make dist' was issued. Otherwise, the target
will fail to remove that directory.
Create an '.dist-tmp-dir' directory and copy the various files into this
now un-versioned directory while creating the distribution tarball. Change
the 'clean' target to remove the '.dist-tmp-dir' directory, instead of the
version dependent $(GIT_TARNAME) directory.
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'prune-packed.c')
0 files changed, 0 insertions, 0 deletions