Make it possible to affect the way dists are made
authorRichard Levitte <levitte@openssl.org>
Tue, 8 Dec 2015 11:42:27 +0000 (12:42 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 8 Dec 2015 20:06:33 +0000 (21:06 +0100)
Introducing DISTTARVARS to propagate changed variables down to the
tar-making target.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 4d3c30a1799bf7b4dc7223b84417c4de992a6b9c)

Makefile.org

index dbb7374..820eb1b 100644 (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