Make it possible to affect the way dists are made

Introducing DISTTARVARS to propagate changed variables down to the
tar-making target.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 4d3c30a1799bf7b4dc7223b84417c4de992a6b9c)
This commit is contained in:
Richard Levitte 2015-12-08 12:42:27 +01:00
parent 66a1ccf494
commit 4305622736

View File

@ -525,8 +525,7 @@ tar-snap: $(TARFILE).list
dist:
$(PERL) Configure dist
@$(MAKE) SDIRS='$(SDIRS)' clean
@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' \
TARFILE='$(TARFILE)' NAME='$(NAME)' tar
@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
install: all install_docs install_sw