From: lewie Date: Wed, 23 Jan 2002 17:51:46 +0000 (+0000) Subject: [project @ 2002-01-23 17:51:46 by lewie] X-Git-Tag: Approximately_9120_patches~268 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d3bd93cf2747fabb8bd7c6df434c9ce98d0fc253 [project @ 2002-01-23 17:51:46 by lewie] Add special case for installing shared libs (which need the execute bit set). --- diff --git a/mk/paths.mk b/mk/paths.mk index bbcdd78..1ed2ed9 100644 --- a/mk/paths.mk +++ b/mk/paths.mk @@ -47,12 +47,13 @@ endif SRC_INSTALL_OPTS += $(INSTALL_OWNER) $(INSTALL_GROUP) # -# Invocations of `install' for the three different classes +# Invocations of `install' for the four different classes # of targets: # INSTALL_PROGRAM = $(INSTALL) -m 755 INSTALL_SCRIPT = $(INSTALL) -m 755 +INSTALL_SHLIB = $(INSTALL) -m 755 INSTALL_DATA = $(INSTALL) -m 644 INSTALL_DIR = $(FPTOOLS_TOP)/glafp-utils/mkdirhier/mkdirhier diff --git a/mk/target.mk b/mk/target.mk index b773430..59f00ef 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -839,6 +839,8 @@ install:: $(INSTALL_LIBS) $(RANLIB) $(libdir)/`basename $$i` ;; \ *.dll) \ $(INSTALL_DATA) -s $(INSTALL_OPTS) $$i $(libdir) ;; \ + *.so) \ + $(INSTALL_SHLIB) $(INSTALL_OPTS) $$i $(libdir) ;; \ *) \ $(INSTALL_DATA) $(INSTALL_OPTS) $$i $(libdir); \ esac; \