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 b0d2fcf..92d788a 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