Unified - don't install the ossltest engine
This is done with a simple file name comparison. We could think of something more elegant in the future. Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
8be7bdb5c6
commit
f0c93a8593
1 changed files with 8 additions and 2 deletions
|
@ -312,7 +312,10 @@ install_engines:
|
|||
@echo "*** Installing engines"
|
||||
@set -e; for e in $(ENGINES); do \
|
||||
fn=`basename $$e`; \
|
||||
echo "install $$e -> $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \
|
||||
if [ "$$fn" = '{- dso("ossltest") -}' ]; then \
|
||||
continue; \
|
||||
fi; \
|
||||
echo "install $$e -> $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn"; \
|
||||
cp $$e $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn.new; \
|
||||
chmod 755 $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn.new; \
|
||||
mv -f $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn.new \
|
||||
|
@ -323,7 +326,10 @@ uninstall_engines:
|
|||
@echo "*** Uninstalling engines"
|
||||
@set -e; for e in $(ENGINES); do \
|
||||
fn=`basename $$e`; \
|
||||
echo "$(RM) $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \
|
||||
if [ "$$fn" = '{- dso("ossltest") -}' ]; then \
|
||||
continue; \
|
||||
fi; \
|
||||
echo "$(RM) $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn"; \
|
||||
$(RM) $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$$fn; \
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue