Install various scripts to $(OPENSSLDIR)/misc instead of $(INSTALLTOP)/bin.

Submitted by:
Reviewed by:
PR:
This commit is contained in:
Bodo Möller 1999-04-28 22:06:19 +00:00
parent bcaa88342b
commit ddeee82c63
4 changed files with 20 additions and 3 deletions

View file

@ -5,8 +5,13 @@
Changes between 0.9.2b and 0.9.3 Changes between 0.9.2b and 0.9.3
*) Install various scripts to $(OPENSSLDIR)/misc, not to
$(INSTALLTOP)/bin -- they shouldn't clutter directories
such as /usr/local/bin.
[Bodo Moeller]
*) "make linux-shared" to build shared libraries. *) "make linux-shared" to build shared libraries.
[Niels Poppe <niels@netbox.org>] [Niels Poppe <niels@netbox.org>]
*) New Configure option no-<cipher> (rsa, idea, rc5, ...). *) New Configure option no-<cipher> (rsa, idea, rc5, ...).
[Ulf Möller] [Ulf Möller]

View file

@ -310,6 +310,7 @@ install: all
@-mkdir -p $(INSTALLTOP)/bin 2>/dev/null @-mkdir -p $(INSTALLTOP)/bin 2>/dev/null
@-mkdir -p $(INSTALLTOP)/lib 2>/dev/null @-mkdir -p $(INSTALLTOP)/lib 2>/dev/null
@-mkdir -p $(INSTALLTOP)/include/openssl 2>/dev/null @-mkdir -p $(INSTALLTOP)/include/openssl 2>/dev/null
@-mkdir -p $(OPENSSLDIR)/misc 2>/dev/null
@-mkdir -p $(OPENSSLDIR)/certs 2>/dev/null @-mkdir -p $(OPENSSLDIR)/certs 2>/dev/null
@-mkdir -p $(OPENSSLDIR)/private 2>/dev/null @-mkdir -p $(OPENSSLDIR)/private 2>/dev/null
@-mkdir -p $(OPENSSLDIR)/lib 2>/dev/null @-mkdir -p $(OPENSSLDIR)/lib 2>/dev/null

View file

@ -88,12 +88,18 @@ files:
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
install: install:
@for i in $(EXE) $(SCRIPTS); \ @for i in $(EXE); \
do \ do \
(echo installing $$i; \ (echo installing $$i; \
cp $$i $(INSTALLTOP)/bin/$$i; \ cp $$i $(INSTALLTOP)/bin/$$i; \
chmod 755 $(INSTALLTOP)/bin/$$i ); \ chmod 755 $(INSTALLTOP)/bin/$$i ); \
done; \ done; \
@for i in $(SCRIPTS); \
do \
(echo installing $$i; \
cp $$i $(OPENSSLDIR)/misc/$$i; \
chmod 755 $(INSTALLTOP)/misc/$$i ); \
done; \
cp openssl.cnf $(OPENSSLDIR)/lib; \ cp openssl.cnf $(OPENSSLDIR)/lib; \
chmod 644 $(OPENSSLDIR)/lib/openssl.cnf chmod 644 $(OPENSSLDIR)/lib/openssl.cnf

View file

@ -16,7 +16,8 @@ CFLAGS= $(INCLUDES) $(CFLAG)
GENERAL=Makefile.ssl GENERAL=Makefile.ssl
TEST= TEST=
APPS= c_hash c_info c_issuer c_name c_rehash APPS= c_rehash
MISC_APPS= c_hash c_info c_issuer c_name
all: all:
@ -25,6 +26,10 @@ install:
do \ do \
(cp $$i $(INSTALLTOP)/bin/$$i; \ (cp $$i $(INSTALLTOP)/bin/$$i; \
chmod 755 $(INSTALLTOP)/bin/$$i ); \ chmod 755 $(INSTALLTOP)/bin/$$i ); \
@for i in $(MISC_APPS) ; \
do \
(cp $$i $(OPENSSLTOP)/misc/$$i; \
chmod 755 $(OPENSSLTOP)/misc/$$i ); \
done; done;
files: files: