diff options
Diffstat (limited to 'sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch')
-rw-r--r-- | sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch | 358 |
1 files changed, 0 insertions, 358 deletions
diff --git a/sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch b/sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch deleted file mode 100644 index 757f659..0000000 --- a/sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch +++ /dev/null @@ -1,358 +0,0 @@ -diff -urN OpenCASCADE6.3.0/ros/Makefile.am OpenCASCADE6.3.0.FixedInstall/ros/Makefile.am ---- OpenCASCADE6.3.0/ros/Makefile.am 2008-09-09 18:49:10.000000000 +0300 -+++ OpenCASCADE6.3.0.FixedInstall/ros/Makefile.am 2009-02-20 15:01:08.000000000 +0200 -@@ -108,126 +108,126 @@ - dir_SunOS=sun - - install-exec-local: -- $(INSTALL) -d $(prefix)/$(platform) -- if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \ -- cd $(prefix)/$(platform) && ln -s ../bin bin; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/$(platform) -+ if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \ -+ cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \ - fi -- if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \ -- cd $(prefix)/$(platform) && ln -s ../lib lib; \ -+ if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \ -+ cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \ - fi -- $(INSTALL) -d $(prefix)/$(dir_$(platform)) -- if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \ -- cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform)) -+ if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \ -+ cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \ - fi -- if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \ -- cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \ -+ if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \ -+ cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ -- $(INSTALL) -d $(prefix)/inc; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/inc; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \ - fi; \ - if [ "$$pd" != "$$bd" ]; then \ -- cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \ -+ cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \ - fi -- if [ -e $(prefix)/inc/config.h ]; then \ -- unlink $(prefix)/inc/config.h; \ -+ if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \ -+ unlink $(DESTDIR)$(prefix)/inc/config.h; \ - fi -- cd $(prefix)/inc && ln -s ../config.h config.h -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \ -- $(INSTALL) -d $(prefix)/src; \ -- $(INSTALL) -d $(prefix)/src/UnitsAPI; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \ -- cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \ -+ cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(FoundationClasses_DIRS)"; \ - if test "x$(FoundationClasses_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(ModelingData_DIRS)"; \ - if test "x$(ModelingData_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(ModelingAlgorithms_DIRS)"; \ - if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(Visualization_DIRS)"; \ - if test "x$(Visualization_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(ApplicationFramework_DIRS)"; \ - if test "x$(ApplicationFramework_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(DataExchange_DIRS)"; \ - if test "x$(DataExchange_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(Draw_DIRS)"; \ - if test "x$(Draw_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(WOK_DIRS)"; \ - if test "x$(WOK_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(Wrappers_DIRS)"; \ - if test "x$(Wrappers_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -diff -urN OpenCASCADE6.3.0/ros/Makefile.in OpenCASCADE6.3.0.FixedInstall/ros/Makefile.in ---- OpenCASCADE6.3.0/ros/Makefile.in 2008-09-09 18:52:16.000000000 +0300 -+++ OpenCASCADE6.3.0.FixedInstall/ros/Makefile.in 2009-02-20 15:01:59.000000000 +0200 -@@ -646,126 +646,126 @@ - cd $(top_builddir)/adm/make && $(MAKE) $(AM_MAKEFLAGS) Wrappers - - install-exec-local: -- $(INSTALL) -d $(prefix)/$(platform) -- if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \ -- cd $(prefix)/$(platform) && ln -s ../bin bin; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/$(platform) -+ if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \ -+ cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \ - fi -- if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \ -- cd $(prefix)/$(platform) && ln -s ../lib lib; \ -+ if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \ -+ cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \ - fi -- $(INSTALL) -d $(prefix)/$(dir_$(platform)) -- if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \ -- cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform)) -+ if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \ -+ cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \ - fi -- if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \ -- cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \ -+ if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \ -+ cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ -- $(INSTALL) -d $(prefix)/inc; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/inc; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \ - fi; \ - if [ "$$pd" != "$$bd" ]; then \ -- cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \ -+ cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \ - fi -- if [ -e $(prefix)/inc/config.h ]; then \ -- unlink $(prefix)/inc/config.h; \ -+ if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \ -+ unlink $(DESTDIR)$(prefix)/inc/config.h; \ - fi -- cd $(prefix)/inc && ln -s ../config.h config.h -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \ -- $(INSTALL) -d $(prefix)/src; \ -- $(INSTALL) -d $(prefix)/src/UnitsAPI; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \ -- cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \ -+ cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(FoundationClasses_DIRS)"; \ - if test "x$(FoundationClasses_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(ModelingData_DIRS)"; \ - if test "x$(ModelingData_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(ModelingAlgorithms_DIRS)"; \ - if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(Visualization_DIRS)"; \ - if test "x$(Visualization_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(ApplicationFramework_DIRS)"; \ - if test "x$(ApplicationFramework_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(DataExchange_DIRS)"; \ - if test "x$(DataExchange_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(Draw_DIRS)"; \ - if test "x$(Draw_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(WOK_DIRS)"; \ - if test "x$(WOK_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi -- bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \ -+ bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \ - if [ "$$pd" != "$$sd" ]; then \ - inst_dirs="$(Wrappers_DIRS)"; \ - if test "x$(Wrappers_DIRS)" != "x"; then \ - for d in $$inst_dirs; do \ -- $(INSTALL) -d $(prefix)/src/$$d; \ -- cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \ -+ $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \ -+ cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \ - done; \ - fi; \ - fi |