diff options
author | Bodo Möller <bodo@openssl.org> | 1999-04-29 23:52:08 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-04-29 23:52:08 +0200 |
commit | e5f3045fbf6394f2f587d1312cf3525da04d3032 (patch) | |
tree | 8aefa6fcebbe06029407054d1e0b0cbf4535fb06 /tools | |
parent | Bug fix. (diff) | |
download | openssl-e5f3045fbf6394f2f587d1312cf3525da04d3032.tar.xz openssl-e5f3045fbf6394f2f587d1312cf3525da04d3032.zip |
Support INSTALL_PREFIX for packagers.
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.ssl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/Makefile.ssl b/tools/Makefile.ssl index 08d4a7cc71..7e6285b911 100644 --- a/tools/Makefile.ssl +++ b/tools/Makefile.ssl @@ -7,6 +7,8 @@ TOP= .. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -24,13 +26,13 @@ all: install: @for i in $(APPS) ; \ do \ - (cp $$i $(INSTALLTOP)/bin/$$i; \ - chmod 755 $(INSTALLTOP)/bin/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \ + chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \ done; @for i in $(MISC_APPS) ; \ do \ - (cp $$i $(OPENSSLTOP)/misc/$$i; \ - chmod 755 $(OPENSSLTOP)/misc/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \ + chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \ done; files: |