]> git.ipfire.org Git - thirdparty/git.git/commit
Makefile: allow extra tweaking of distribution tarball
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Sep 2020 18:53:04 +0000 (11:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Sep 2020 19:01:04 +0000 (12:01 -0700)
commiteec6ab5423ea288bf9f75f021aeb27905337a089
tree75fa0546f569093409fbbf5db6d20a1098e4f282
parent3a238e539bcdfe3f9eb5010fd218640c1b499f7a
Makefile: allow extra tweaking of distribution tarball

The maintainer's dist rules are used to produce distribution
tarballs.  They use "$(TAR) cf" and "$(TAR) rf" to produce archives
out of a freshly created local installation area, which means that
the built product can be affected by maintainer's umask and other
local environment.

Implementations of "tar" have ways (implementation specific,
unfortunately) to force permission bits and other stuff to allow the
user to hide these effects coming from the local environment.  Teach
our Makefile to allow the maintainer to tweak the invocation of the
$(TAR) commands by setting TAR_DIST_EXTRA_OPTS.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile