summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-11-24 11:27:50 +0100
committerRichard Levitte <levitte@openssl.org>2018-11-24 18:43:54 +0100
commitd4fd89996866f320d6193b5f5e2c2b9efeed31c5 (patch)
tree4a81c2263ec28663d7f1b90e71e441da49820ba5 /Configurations
parent105d4c0cdf5de96ca4241bbdad735ed6a590ff90 (diff)
Make sure to run util/mktar.sh from the source directory
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7696) (cherry picked from commit b741f153b2f24139d7210b1b0c9caf561f4900e8)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-Makefile.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 003b28ad85..3d99985054 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -227,6 +227,7 @@ TARFLAGS= {- $target{TARFLAGS} -}
BASENAME= openssl
NAME= $(BASENAME)-$(VERSION)
+# Relative to $(SRCDIR)
TARFILE= ../$(NAME).tar
##### Project flags ##################################################
@@ -831,7 +832,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 #####################################################