diff -Naur examples/callsci/Makefile examples-new/callsci/Makefile --- examples/callsci/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/callsci/Makefile 2007-02-11 12:38:26.000000000 -0500 @@ -1,7 +1,7 @@ SHELL = /bin/sh -SCIDIR=../../ -include ../../Makefile.incl +SCIDIR= gentoo-scidir +include $(SCIDIR)/Makefile.incl all :: info diff -Naur examples/interface-general/Makefile examples-new/interface-general/Makefile --- examples/interface-general/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-general/Makefile 2007-02-11 12:38:52.000000000 -0500 @@ -1,6 +1,7 @@ include Path.incl +SCIDIR= gentoo-scidir include $(SCIDIR)/Makefile.incl all :: Makelib diff -Naur examples/interface-general/lib/Makefile examples-new/interface-general/lib/Makefile --- examples/interface-general/lib/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-general/lib/Makefile 2007-02-11 12:39:04.000000000 -0500 @@ -1,4 +1,4 @@ -SCIDIR=../../../ +SCIDIR= gentoo-scidir include $(SCIDIR)/Makefile.incl diff -Naur examples/interface-lapack/Makefile examples-new/interface-lapack/Makefile --- examples/interface-lapack/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-lapack/Makefile 2007-02-11 12:39:23.000000000 -0500 @@ -1,6 +1,6 @@ SHELL = /bin/sh -SCIDIR = ../.. +SCIDIR= gentoo-scidir LIBRARY = lapackscilab.a diff -Naur examples/interface-multi-so/Makefile examples-new/interface-multi-so/Makefile --- examples/interface-multi-so/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-multi-so/Makefile 2007-02-11 12:39:50.000000000 -0500 @@ -1,5 +1,5 @@ SHELL = /bin/sh -SCIDIR=../.. +SCIDIR= gentoo-scidir include Path.incl diff -Naur examples/interface-multi-so/lib/Makefile examples-new/interface-multi-so/lib/Makefile --- examples/interface-multi-so/lib/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-multi-so/lib/Makefile 2007-02-11 12:40:04.000000000 -0500 @@ -1,4 +1,4 @@ -SCIDIR=../../../ +SCIDIR= gentoo-scidir include $(SCIDIR)/Makefile.incl diff -Naur examples/interface-tour/Makefile examples-new/interface-tour/Makefile --- examples/interface-tour/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-tour/Makefile 2007-02-11 12:40:21.000000000 -0500 @@ -1,6 +1,6 @@ SHELL = /bin/sh -SCIDIR = ../.. +SCIDIR= gentoo-scidir LIBRARY = examples.a diff -Naur examples/interface-tour-so/Makefile examples-new/interface-tour-so/Makefile --- examples/interface-tour-so/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-tour-so/Makefile 2007-02-11 12:40:32.000000000 -0500 @@ -1,4 +1,4 @@ -SCIDIR=../../ +SCIDIR= gentoo-scidir include $(SCIDIR)/Makefile.incl diff -Naur examples/interface-tutorial/Makefile examples-new/interface-tutorial/Makefile --- examples/interface-tutorial/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-tutorial/Makefile 2007-02-11 12:40:47.000000000 -0500 @@ -1,6 +1,6 @@ SHELL = /bin/sh -SCIDIR = ../.. +SCIDIR= gentoo-scidir LIBRARY = tutorial.a diff -Naur examples/interface-tutorial-so/Makefile examples-new/interface-tutorial-so/Makefile --- examples/interface-tutorial-so/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/interface-tutorial-so/Makefile 2007-02-11 12:40:57.000000000 -0500 @@ -1,4 +1,4 @@ -SCIDIR=../../ +SCIDIR= gentoo-scidir include $(SCIDIR)/Makefile.incl diff -Naur examples/intersci-examples/Makefile examples-new/intersci-examples/Makefile --- examples/intersci-examples/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/intersci-examples/Makefile 2007-02-11 12:41:21.000000000 -0500 @@ -1,9 +1,9 @@ SHELL = /bin/sh -SCIDIR=../.. +SCIDIR= gentoo-scidir INTERSCI = $(SCIDIR)/bin/intersci -include ../../Makefile.incl +include $(SCIDIR)/Makefile.incl all:: info diff -Naur examples/intersci-examples-so/Makefile examples-new/intersci-examples-so/Makefile --- examples/intersci-examples-so/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/intersci-examples-so/Makefile 2007-02-11 12:41:32.000000000 -0500 @@ -2,10 +2,10 @@ SHELL = /bin/sh -SCIDIR=../.. +SCIDIR= gentoo-scidir INTERSCI = $(SCIDIR)/bin/intersci-n -include ../../Makefile.incl +include $(SCIDIR)/Makefile.incl CFLAGS = $(CC_OPTIONS) $(CC_PICFLAGS) -I$(SCIDIR)/routines FFLAGS = $(FC_OPTIONS) $(FC_PICFLAGS) -I$(SCIDIR)/routines diff -Naur examples/link-examples/Makefile examples-new/link-examples/Makefile --- examples/link-examples/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/link-examples/Makefile 2007-02-11 12:41:46.000000000 -0500 @@ -1,6 +1,6 @@ SHELL = /bin/sh -SCIDIR=../.. -include ../../Makefile.incl +SCIDIR= gentoo-scidir +include $(SCIDIR)/Makefile.incl all:: info diff -Naur examples/link-examples-so/Makefile examples-new/link-examples-so/Makefile --- examples/link-examples-so/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/link-examples-so/Makefile 2007-02-11 12:41:57.000000000 -0500 @@ -1,5 +1,5 @@ SHELL = /bin/sh -SCIDIR=../.. +SCIDIR= gentoo-scidir include $(SCIDIR)/Makefile.incl diff -Naur examples/macros-examples/Makefile examples-new/macros-examples/Makefile --- examples/macros-examples/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/macros-examples/Makefile 2007-02-11 12:42:10.000000000 -0500 @@ -2,7 +2,7 @@ # SCIDIR must be bound to your running Scilab directory # SCIDIR1 also for msvc Makfile -SCIDIR=../.. +SCIDIR= gentoo-scidir SCIDIR1=..\.. include $(SCIDIR)/Makefile.incl diff -Naur examples/man-examples/Makefile examples-new/man-examples/Makefile --- examples/man-examples/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/man-examples/Makefile 2007-02-11 12:42:23.000000000 -0500 @@ -1,10 +1,11 @@ SHELL = /bin/sh # just to know where is scilab -include ../../Path.incl +SCIDIR= gentoo-scidir +include $(SCIDIR)/Path.incl # to get FILES_TO_CLEAN # include $(SCIDIR)/Makefile.incl -include ../../Makefile.incl +include $(SCIDIR)/Makefile.incl # provide the list of sub-directories and format request # in format.sci diff -Naur examples/man-examples-xml/Makefile examples-new/man-examples-xml/Makefile --- examples/man-examples-xml/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/man-examples-xml/Makefile 2007-02-11 12:42:34.000000000 -0500 @@ -1,6 +1,7 @@ SHELL = /bin/sh # just to know where is scilab -include ../../Path.incl +SCIDIR= gentoo-scidir +include $(SCIDIR)/Path.incl # to get FILES_TO_CLEAN include $(SCIDIR)/Makefile.incl diff -Naur examples/mex-examples/Makefile examples-new/mex-examples/Makefile --- examples/mex-examples/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/mex-examples/Makefile 2007-02-11 12:42:47.000000000 -0500 @@ -1,7 +1,7 @@ SHELL = /bin/sh -SCIDIR=../../ -include ../../Makefile.incl +SCIDIR= gentoo-scidir +include $(SCIDIR)/Makefile.incl SUBDIRS = cmex fmex mexglx mexdll diff -Naur examples/misc-examples/Makefile examples-new/misc-examples/Makefile --- examples/misc-examples/Makefile 2007-02-11 12:00:41.000000000 -0500 +++ examples-new/misc-examples/Makefile 2007-02-11 12:43:00.000000000 -0500 @@ -1,7 +1,7 @@ SHELL = /bin/sh -SCIDIR=../.. -include ../../Makefile.incl +SCIDIR= gentoo-scidir +include $(SCIDIR)/Makefile.incl all:: info