Sprout from master 2005-06-28 10:09:56 UTC stv <stv@opencascade.com> '*** empty log message ***'
Cherrypick from master 2005-06-29 06:39:31 UTC asv <asv@opencascade.com> 'install step is changed. symbolic link is made relative to bindir.':
src/Style/Makefile.in
LDFLAGS+=$(QT_MT_LIBS)
LIBS+=
-# create $(top_builddir)/bin/salome/styles directory and copy libSalomeStyle.so there
+# create $(top_builddir)/src/Session/styles directory and copy libSalomeStyle.so there
LIB_PLUGINDIR = $(top_builddir)/src/Session/styles
LIB_PLUGINLIB = $(patsubst %.la, $(LIB_PLUGINDIR)/%.so, $(filter %.la, $(LIB)))
mkdir -p $@
$(INSTALL_COPYLIB):
- ln -sf $(patsubst %.la, $(libdir)/%.so, $(filter %.la, $(LIB))) $@ || true
+ (cd $(bindir)/styles; ln -sf $(patsubst %.la, ../../../lib/salome/%.so, $(filter %.la, $(LIB))) $@) || true
@CONCLUDE@