From: Richard Levitte Date: Sat, 24 Nov 2018 10:27:50 +0000 (+0100) Subject: Make sure to run util/mktar.sh from the source directory X-Git-Tag: openssl-3.0.0-alpha1~2869 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=b741f153b2f24139d7210b1b0c9caf561f4900e8 Make sure to run util/mktar.sh from the source directory Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/7696) --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index b5c6991a48..ecdd0c147c 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -231,6 +231,7 @@ TARFLAGS= {- $target{TARFLAGS} -} BASENAME= openssl NAME= $(BASENAME)-$(VERSION) +# Relative to $(SRCDIR) TARFILE= ../$(NAME).tar ##### Project flags ################################################## @@ -873,7 +874,7 @@ tags TAGS: FORCE # Release targets (note: only available on Unix) ##################### tar: - $(SRCDIR)/util/mktar.sh --name='$(NAME)' --tarfile='$(TARFILE)' + (cd $(SRCDIR); ./util/mktar.sh --name='$(NAME)' --tarfile='$(TARFILE)') # Helper targets #####################################################