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:18 +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 e035fc4d2b8a6806f41f68f07585a44be7dde157..1ac6d5e09a048ca1c83b82c0b7234eb4021d369a 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