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:04:53 +0000 (21:04 +0100)
Introducing DISTTARVARS to propagate changed variables down to the
tar-making target.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Makefile.org

index b0d2fcf3926fe2b0b6a8573e19e093af2f75e392..92d788a70b0813daa201b549fb0761bb7323f490 100644 (file)
@@ -519,8 +519,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