Draft of the make install for html (crappy and buggy)
Sylvestre Ledru [Tue, 2 Jan 2007 15:28:50 +0000 (15:28 +0000)]
104 files changed:
scilab/Makefile.am
scilab/Makefile.in
scilab/Makefile.incl.in
scilab/modules/Makefile.am
scilab/modules/Makefile.in
scilab/modules/arnoldi/Makefile.am
scilab/modules/arnoldi/Makefile.in
scilab/modules/boolean/Makefile.am
scilab/modules/boolean/Makefile.in
scilab/modules/cacsd/Makefile.am
scilab/modules/cacsd/Makefile.in
scilab/modules/core/Makefile.am
scilab/modules/core/Makefile.in
scilab/modules/data_structures/Makefile.am
scilab/modules/data_structures/Makefile.in
scilab/modules/development_tools/Makefile.am
scilab/modules/development_tools/Makefile.in
scilab/modules/differential_equations/Makefile.am
scilab/modules/differential_equations/Makefile.in
scilab/modules/double/Makefile.am
scilab/modules/double/Makefile.in
scilab/modules/elementaries_functions/Makefile.am
scilab/modules/elementaries_functions/Makefile.in
scilab/modules/fftw/Makefile.am
scilab/modules/fileio/Makefile.am
scilab/modules/fileio/Makefile.in
scilab/modules/functions/Makefile.am
scilab/modules/functions/Makefile.in
scilab/modules/graphics/Makefile.am
scilab/modules/graphics/Makefile.in
scilab/modules/gui/Makefile.am
scilab/modules/gui/Makefile.in
scilab/modules/helptools/Makefile.am
scilab/modules/helptools/Makefile.in
scilab/modules/incremental_link/Makefile.am
scilab/modules/incremental_link/Makefile.in
scilab/modules/incremental_link/src/scripts/Makefile.am
scilab/modules/integer/Makefile.am
scilab/modules/integer/Makefile.in
scilab/modules/interpolation/Makefile.am
scilab/modules/interpolation/Makefile.in
scilab/modules/intersci/Makefile.am
scilab/modules/intersci/Makefile.in
scilab/modules/io/Makefile.am
scilab/modules/io/Makefile.in
scilab/modules/javasci/Makefile.am
scilab/modules/javasci/Makefile.in
scilab/modules/jvm/Makefile.am
scilab/modules/jvm/Makefile.in
scilab/modules/linear_algebra/Makefile.am
scilab/modules/linear_algebra/Makefile.in
scilab/modules/localization/Makefile.am
scilab/modules/localization/Makefile.in
scilab/modules/m2sci/Makefile.am
scilab/modules/m2sci/Makefile.in
scilab/modules/maple2scilab/Makefile.am
scilab/modules/maple2scilab/Makefile.in
scilab/modules/metanet/Makefile.am
scilab/modules/metanet/Makefile.in
scilab/modules/mexlib/Makefile.am
scilab/modules/mexlib/Makefile.in
scilab/modules/optimization/Makefile.am
scilab/modules/optimization/Makefile.in
scilab/modules/others/Makefile.am
scilab/modules/others/Makefile.in
scilab/modules/overloading/Makefile.am
scilab/modules/overloading/Makefile.in
scilab/modules/polynomials/Makefile.am
scilab/modules/polynomials/Makefile.in
scilab/modules/pvm/Makefile.am
scilab/modules/pvm/Makefile.in
scilab/modules/randlib/Makefile.am
scilab/modules/randlib/Makefile.in
scilab/modules/sci2c/Makefile.am
scilab/modules/scicos/Makefile.am
scilab/modules/scicos/Makefile.in
scilab/modules/scilab2fortran/Makefile.am
scilab/modules/scilab2fortran/Makefile.in
scilab/modules/scipad/Makefile.am
scilab/modules/scipad/Makefile.in
scilab/modules/signal_processing/Makefile.am
scilab/modules/signal_processing/Makefile.in
scilab/modules/sound/Makefile.am
scilab/modules/sound/Makefile.in
scilab/modules/sparse/Makefile.am
scilab/modules/sparse/Makefile.in
scilab/modules/special_functions/Makefile.am
scilab/modules/special_functions/Makefile.in
scilab/modules/statistics/Makefile.am
scilab/modules/statistics/Makefile.in
scilab/modules/string/Makefile.am
scilab/modules/string/Makefile.in
scilab/modules/symbolic/Makefile.am
scilab/modules/symbolic/Makefile.in
scilab/modules/tclsci/Makefile.am
scilab/modules/tclsci/Makefile.in
scilab/modules/texmacs/Makefile.am
scilab/modules/texmacs/Makefile.in
scilab/modules/tfds/Makefile.am
scilab/modules/tfds/Makefile.in
scilab/modules/time/Makefile.am
scilab/modules/time/Makefile.in
scilab/modules/wintools/Makefile.am
scilab/modules/wintools/Makefile.in

index 89b380d..2bf8080 100644 (file)
@@ -26,19 +26,20 @@ scilab_bin_LDADD = $(top_builddir)/modules/libscilab.la \
 sysconf_DATA = $(top_srcdir)/etc/scilab.start \
 $(top_srcdir)/etc/scilab.quit
 
-all-local: ### Crappy code ... Need some clean up
+all-local: install-exec
+ ### Crappy code ... Need some clean up
 
-macros:
-       -@( cd $(top_builddir) ; SCI=`pwd` export SCI; \
-       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+macros:$(top_builddir)/scilab-bin
+       -@( cd $(top_builddir) ; \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$L D_LIBRARY_PATH";     export LD_LIBRARY_PATH; \
        $(top_builddir)/scilab-bin -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce)
 
-man:
-       -@( cd $(top_builddir) ; SCI=`pwd` export SCI; \
+html-local:$(top_builddir)/scilab-bin
+       -@( cd $(top_builddir) ; \
        LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
        $(top_builddir)/scilab-bin -nb -l eng -nouserstartup -nwni -e "xmltohtml();exit;")
 
-       -@( cd $(top_builddir) ; SCI=`pwd` export SCI; \
+       -@( cd $(top_builddir) ; \
        LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
        $(top_builddir)/scilab-bin -nb -l fr -nouserstartup -nwni -e "xmltohtml();exit;")
 
@@ -51,3 +52,18 @@ distclean-local::
 clean-local:
 #      @..\..\..\bin\scilex -nb -l eng -nouserstartup -nwni -e clean_help();exit;
 #      @..\..\..\bin\scilex -nb -l fr -nouserstartup -nwni -e clean_help();exit;
+
+# Install HTML files
+pkgdocdir = $(MagickDocumentPath)
+DOCDIRS = images www www/api www/Magick++
+HTML_INSTALL_DATA_TARGETS = install-data-html
+install-data-html:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       $(INSTALL_DATA) $(srcdir)/index.html $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+         for file in $(srcdir)/$$dir/*.* ; do \
+           echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+           $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+         done ; \
+       done
index 97e5e8c..3e1779d 100644 (file)
@@ -272,6 +272,13 @@ scilab_bin_LDADD = $(top_builddir)/modules/libscilab.la \
 sysconf_DATA = $(top_srcdir)/etc/scilab.start \
 $(top_srcdir)/etc/scilab.quit
 
+#      @..\..\..\bin\scilex -nb -l eng -nouserstartup -nwni -e clean_help();exit;
+#      @..\..\..\bin\scilex -nb -l fr -nouserstartup -nwni -e clean_help();exit;
+
+# Install HTML files
+pkgdocdir = $(MagickDocumentPath)
+DOCDIRS = images www www/api www/Magick++
+HTML_INSTALL_DATA_TARGETS = install-data-html
 all: all-recursive
 
 .SUFFIXES:
@@ -752,6 +759,8 @@ dvi-am:
 
 html: html-recursive
 
+html-am: html-local
+
 info: info-recursive
 
 info-am:
@@ -808,33 +817,34 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
        distclean-compile distclean-generic distclean-hdr \
        distclean-libtool distclean-local distclean-tags \
        distcleancheck distdir distuninstallcheck dvi dvi-am html \
-       html-am info info-am install install-am install-binPROGRAMS \
-       install-binSCRIPTS install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip install-sysconfDATA installcheck installcheck-am \
-       installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags tags-recursive uninstall uninstall-am \
+       html-am html-local info info-am install install-am \
+       install-binPROGRAMS install-binSCRIPTS install-data \
+       install-data-am install-dvi install-dvi-am install-exec \
+       install-exec-am install-html install-html-am install-info \
+       install-info-am install-man install-pdf install-pdf-am \
+       install-ps install-ps-am install-strip install-sysconfDATA \
+       installcheck installcheck-am installdirs installdirs-am \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+       pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
        uninstall-binPROGRAMS uninstall-binSCRIPTS \
        uninstall-sysconfDATA
 
 
-all-local: ### Crappy code ... Need some clean up
+all-local: install-exec
+ ### Crappy code ... Need some clean up
 
-macros:
-       -@( cd $(top_builddir) ; SCI=`pwd` export SCI; \
-       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+macros:$(top_builddir)/scilab-bin
+       -@( cd $(top_builddir) ; \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$L D_LIBRARY_PATH";     export LD_LIBRARY_PATH; \
        $(top_builddir)/scilab-bin -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce)
 
-man:
-       -@( cd $(top_builddir) ; SCI=`pwd` export SCI; \
+html-local:$(top_builddir)/scilab-bin
+       -@( cd $(top_builddir) ; \
        LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
        $(top_builddir)/scilab-bin -nb -l eng -nouserstartup -nwni -e "xmltohtml();exit;")
 
-       -@( cd $(top_builddir) ; SCI=`pwd` export SCI; \
+       -@( cd $(top_builddir) ; \
        LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
        $(top_builddir)/scilab-bin -nb -l fr -nouserstartup -nwni -e "xmltohtml();exit;")
 
@@ -844,8 +854,16 @@ check-local:
 
 distclean-local::      
 clean-local:
-#      @..\..\..\bin\scilex -nb -l eng -nouserstartup -nwni -e clean_help();exit;
-#      @..\..\..\bin\scilex -nb -l fr -nouserstartup -nwni -e clean_help();exit;
+install-data-html:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       $(INSTALL_DATA) $(srcdir)/index.html $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+         for file in $(srcdir)/$$dir/*.* ; do \
+           echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+           $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+         done ; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index e18081b..fb11bef 100644 (file)
-RM = @RM@
-AR = @AR@ @AR_FLAGS@
-FILES_TO_CLEAN = @FILES_TO_CLEAN@
+# Makefile.incl.in generated by automake 1.10 from Makefile.incl.am.
+# @configure_input@
 
-all::
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-clean::
-       @echo Cleaning 
-       @$(RM) $(FILES_TO_CLEAN)
-distclean::
-       @$(RM) $(FILES_TO_CLEAN)
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-RANLIB = @RANLIB@
-
-TERMCAPLIB = @TERMCAPLIB@
-
-##################################################################
-# NOTE: the following schemes for compiling and linking are not  #
-#       exactly used for the main executable scilex; for it, see #
-#       the files Makefile.<host>                                #
-##################################################################
-
-############
-# C++ compiler 
-CXX= @CXX@
-CXX_OPTIONS= @CXXFLAGS@
-CXX_CPP =  @CXXCPP@
-
-############
-# C compiler
-# typically, for compiling use: CFLAGS = $(CC_OPTIONS)
-# and for linking: $(CC) -o $(PROGRAM) $(OBJS) $(CC_LDFLAGS)
-###########
+@SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = .
+DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.incl.am \
+       $(srcdir)/Makefile.incl.in $(top_srcdir)/configure \
+       $(top_srcdir)/libs/f2c/Makefile.in \
+       $(top_srcdir)/modules/core/includes/machine.h.in \
+       $(top_srcdir)/modules/scicos/src/ocaml/Makefile.in \
+       config/README config/config.guess config/config.sub \
+       config/depcomp config/install-sh config/ltmain.sh \
+       config/missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
+       $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+       $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pvm.m4 \
+       $(top_srcdir)/m4/sciman.m4 $(top_srcdir)/m4/tcltk.m4 \
+       $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES = libs/f2c/Makefile \
+       modules/scicos/src/ocaml/Makefile
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  { test ! -d $(distdir) \
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr $(distdir); }; }
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
 CC = @CC@
-CC_OPTIONS = @CC_OPTIONS@
-CC_LDFLAGS = @CC_LDFLAGS@ 
-CC_PICFLAGS = @CC_PICFLAGS@
-
-##################
-# Fortran compiler
-# typically, for compiling use: FFLAGS = $(FC_OPTIONS)
-# and for linking: $(FC) -o $(PROGRAM) $(OBJS) $(FC_LDFLAGS)
-##################
-FC = @FC@
-FC_OPTIONS = @FC_OPTIONS@
-FC_LDFLAGS = @FC_LDFLAGS@
-FC_PICFLAGS = @FC_PICFLAGS@
-
-########
-# Linker
-# typically, for linking: $(LD) -o $(PROGRAM) $(OBJS) $(LD_LDFLAGS)
-########
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FGREP = @FGREP@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+JAVAC = @JAVAC@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
 LD = @LD@
-LD_LDFLAGS = @LD_LDFLAGS@
-
-##########
-# X Window: use $(XFLAGS) for compilation and $(XLIBS) for linking
-# typically, for compiling use: CFLAGS = $(CC_OPTIONS) $(XFLAGS)
-# and for linking with X Window
-#  with C compiler: $(CC) -o $(PROGRAM) $(OBJS) $(CC_LDFLAGS) $(XLIBS)
-#  with Fortran compiler: $(FC) -o $(PROGRAM) $(OBJS) $(FC_LDFLAGS) $(XLIBS)
-#  with linker: $(LD) -o $(PROGRAM) $(OBJS) $(LD_LDFLAGS) $(XLIBS)
-##########
-DLDLIB = @DLDLIB@
-DLD_SUBDIR = @DLD_SUBDIR@
-PVMROOT = @PVMROOT@
-#PVMROOT=$(SCIDIR)/pvm3
-PVMLIB = @PVMLIB@
-PVMGLIB = @PVMGLIB@
-PVMINCLUDE = @PVMINCLUDE@
-XAWLIB = @XAWLIB@
-XMULIB = @XMULIB@
-XAW_LOCAL_SUBDIR = @XAW_LOCAL_SUBDIR@
-XAW_LOCAL_LIB = @XAW_LOCAL_LIB@
-XFLAGS = @XAW_LOCAL_INCLUDES@ @X_CFLAGS@ 
-X_EXTRA_LIBS = @X_EXTRA_LIBS@
-XXTXEXT= @XXTXEXT@
-XX11 = @XX11@
-XLIBS = @X_LIBS@ $(XAWLIB) $(XMULIB) $(XXTXEXT) @X_PRE_LIBS@ $(XX11) $(X_EXTRA_LIBS)
-
-#####################
-# TCL/TK
-#####################
-TKBASE =@TKBASE@
-#TKBASE=$(SCIDIR)
-TK_INC_PATH = @TK_INC_PATH@
-TCL_INC_PATH = @TCL_INC_PATH@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLOPT = @OCAMLOPT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PVMARCH = @PVMARCH@
+PVMGETARCH = @PVMGETARCH@
+PVM_INCLUDE = @PVM_INCLUDE@
+PVM_LIB = @PVM_LIB@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
 TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TERMCAP_LIB = @TERMCAP_LIB@
+TK_INC_PATH = @TK_INC_PATH@
+VERSION = @VERSION@
+WITH = @WITH@
+WITH_OCAML = @WITH_OCAML@
+XMKMF = @XMKMF@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+lt_ECHO = @lt_ECHO@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+tcldir = @tcldir@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+SUFFIXES = .xml .sci
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .xml .sci .bin .htm
+am--refresh:
+       @:
+$(srcdir)/Makefile.incl.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.incl.am  $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
+             cd $(srcdir) && $(AUTOMAKE) --foreign  \
+               && exit 0; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile.incl'; \
+       cd $(top_srcdir) && \
+         $(AUTOMAKE) --foreign  Makefile.incl
+.PRECIOUS: Makefile.incl
+Makefile.incl: $(srcdir)/Makefile.incl.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           echo ' $(SHELL) ./config.status'; \
+           $(SHELL) ./config.status;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+       esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       cd $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+modules/core/includes/machine.h: modules/core/includes/stamp-h1
+       @if test ! -f $@; then \
+         rm -f modules/core/includes/stamp-h1; \
+         $(MAKE) $(AM_MAKEFLAGS) modules/core/includes/stamp-h1; \
+       else :; fi
+
+modules/core/includes/stamp-h1: $(top_srcdir)/modules/core/includes/machine.h.in $(top_builddir)/config.status
+       @rm -f modules/core/includes/stamp-h1
+       cd $(top_builddir) && $(SHELL) ./config.status modules/core/includes/machine.h
+$(top_srcdir)/modules/core/includes/machine.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
+       cd $(top_srcdir) && $(AUTOHEADER)
+       rm -f modules/core/includes/stamp-h1
+       touch $@
+
+distclean-hdr:
+       -rm -f modules/core/includes/machine.h modules/core/includes/stamp-h1
+libs/f2c/Makefile: $(top_builddir)/config.status $(top_srcdir)/libs/f2c/Makefile.in
+       cd $(top_builddir) && $(SHELL) ./config.status $@
+modules/scicos/src/ocaml/Makefile: $(top_builddir)/config.status $(top_srcdir)/modules/scicos/src/ocaml/Makefile.in
+       cd $(top_builddir) && $(SHELL) ./config.status $@
+
+mostlyclean-libtool:
+       -rm -f *.lo
+
+clean-libtool:
+       -rm -rf .libs _libs
+
+distclean-libtool:
+       -rm -f libtool
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+       $(am__remove_distdir)
+       test -d $(distdir) || mkdir $(distdir)
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+           fi; \
+           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+         else \
+           test -f $(distdir)/$$file \
+           || cp -p $$d/$$file $(distdir)/$$file \
+           || exit 1; \
+         fi; \
+       done
+       -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+         ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+         ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+         ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+       || chmod -R a+r $(distdir)
+dist-gzip: distdir
+       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+       $(am__remove_distdir)
+
+dist-bzip2: distdir
+       tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+       $(am__remove_distdir)
+
+dist-tarZ: distdir
+       tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+       $(am__remove_distdir)
+
+dist-shar: distdir
+       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+       $(am__remove_distdir)
+
+dist-zip: distdir
+       -rm -f $(distdir).zip
+       zip -rq $(distdir).zip $(distdir)
+       $(am__remove_distdir)
+
+dist dist-all: distdir
+       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+       $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+       case '$(DIST_ARCHIVES)' in \
+       *.tar.gz*) \
+         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+       *.tar.bz2*) \
+         bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+       *.tar.Z*) \
+         uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+       *.shar.gz*) \
+         GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+       *.zip*) \
+         unzip $(distdir).zip ;;\
+       esac
+       chmod -R a-w $(distdir); chmod a+w $(distdir)
+       mkdir $(distdir)/_build
+       mkdir $(distdir)/_inst
+       chmod a-w $(distdir)
+       dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+         && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+         && cd $(distdir)/_build \
+         && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+           $(DISTCHECK_CONFIGURE_FLAGS) \
+         && $(MAKE) $(AM_MAKEFLAGS) \
+         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) check \
+         && $(MAKE) $(AM_MAKEFLAGS) install \
+         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+         && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+         && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+               distuninstallcheck \
+         && chmod -R a-w "$$dc_install_base" \
+         && ({ \
+              (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+                   distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+             } || { rm -rf "$$dc_destdir"; exit 1; }) \
+         && rm -rf "$$dc_destdir" \
+         && $(MAKE) $(AM_MAKEFLAGS) dist \
+         && rm -rf $(DIST_ARCHIVES) \
+         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+       $(am__remove_distdir)
+       @(echo "$(distdir) archives ready for distribution: "; \
+         list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+         sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+       @cd $(distuninstallcheck_dir) \
+       && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+          || { echo "ERROR: files left after uninstall:" ; \
+               if test -n "$(DESTDIR)"; then \
+                 echo "  (check DESTDIR support)"; \
+               fi ; \
+               $(distuninstallcheck_listfiles) ; \
+               exit 1; } >&2
+distcleancheck: distclean
+       @if test '$(srcdir)' = . ; then \
+         echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+         exit 1 ; \
+       fi
+       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+         || { echo "ERROR: files left in build directory after distclean:" ; \
+              $(distcleancheck_listfiles) ; \
+              exit 1; } >&2
+check-am: all-am
+check: check-am
+all-am: Makefile.incl
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+         `test -z '$(STRIP)' || \
+           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+       -rm -f Makefile.incl
+distclean-am: clean-am distclean-generic distclean-hdr \
+       distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+       -rm -rf $(top_srcdir)/autom4te.cache
+       -rm -f Makefile.incl
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am am--refresh check check-am clean clean-generic \
+       clean-libtool dist dist-all dist-bzip2 dist-gzip dist-shar \
+       dist-tarZ dist-zip distcheck distclean distclean-generic \
+       distclean-hdr distclean-libtool distcleancheck distdir \
+       distuninstallcheck dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-info install-info-am install-man \
+       install-pdf install-pdf-am install-ps install-ps-am \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       uninstall uninstall-am
+
+
+.xml.htm:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       fi )
 
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       fi )
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
index 464fe13..35fa3b2 100644 (file)
@@ -5,7 +5,6 @@
 
 # The order DOES matter !!!
 SUBDIRS = \
-helptools \
 intersci \
 polynomials \
 cacsd \
@@ -50,8 +49,8 @@ texmacs \
 tfds \
 scipad \
 scilab2fortran \
-development_tools
-
+development_tools \
+helptools
 
 if JAVA
 SUBDIRS += jvm 
@@ -117,6 +116,7 @@ endif
 if JAVA
 libscilab_la_LIBADD += $(top_builddir)/modules/jvm/libscijvm.la
 endif
+
 ## Libs 
 libscilab_la_LIBADD += \
 $(top_builddir)/libs/blas/libblas.la \
index 5e5a0c8..f72d383 100644 (file)
@@ -131,15 +131,15 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive   \
   distclean-recursive maintainer-clean-recursive
 ETAGS = etags
 CTAGS = ctags
-DIST_SUBDIRS = helptools intersci polynomials cacsd \
-       elementaries_functions arnoldi boolean linear_algebra \
-       differential_equations string signal_processing fileio core \
-       metanet optimization interpolation localization sound \
-       statistics time integer special_functions double randlib \
-       data_structures mexlib symbolic tclsci sparse io gui graphics \
-       scicos wintools functions incremental_link others overloading \
-       javasci maple2scilab m2sci texmacs tfds scipad scilab2fortran \
-       development_tools jvm pvm .
+DIST_SUBDIRS = intersci polynomials cacsd elementaries_functions \
+       arnoldi boolean linear_algebra differential_equations string \
+       signal_processing fileio core metanet optimization \
+       interpolation localization sound statistics time integer \
+       special_functions double randlib data_structures mexlib \
+       symbolic tclsci sparse io gui graphics scicos wintools \
+       functions incremental_link others overloading javasci \
+       maple2scilab m2sci texmacs tfds scipad scilab2fortran \
+       development_tools helptools jvm pvm .
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 AMTAR = @AMTAR@
@@ -284,15 +284,15 @@ top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 
 # The order DOES matter !!!
-SUBDIRS = helptools intersci polynomials cacsd elementaries_functions \
-       arnoldi boolean linear_algebra differential_equations string \
+SUBDIRS = intersci polynomials cacsd elementaries_functions arnoldi \
+       boolean linear_algebra differential_equations string \
        signal_processing fileio core metanet optimization \
        interpolation localization sound statistics time integer \
        special_functions double randlib data_structures mexlib \
        symbolic tclsci sparse io gui graphics scicos wintools \
        functions incremental_link others overloading javasci \
        maple2scilab m2sci texmacs tfds scipad scilab2fortran \
-       development_tools $(am__append_1) $(am__append_2) .
+       development_tools helptools $(am__append_1) $(am__append_2) .
 #### Target ######
 target = $(datadir)
 
index 393d532..c2e657d 100644 (file)
@@ -111,7 +111,7 @@ libarnoldi_la_sci_gateway_DATA = sci_gateway/arnoldi
 
 #### arnoldi : documentation FR #### 
 libarnoldi_la_helpfrdir = $(target)/help/fr
-libarnoldi_la_helpfr_DATA = help/fr/dsaupd.htm \
+libarnoldi_la_helpfr_DATA2 = help/fr/dsaupd.htm \
 help/fr/dseupd.htm \
 help/fr/znaupd.htm \
 help/fr/zneupd.htm \
@@ -122,7 +122,7 @@ help/fr/dnaupd.htm
 
 #### arnoldi : documentation EN #### 
 libarnoldi_la_helpendir = $(target)/help/eng
-libarnoldi_la_helpen_DATA = help/eng/whatis.htm \
+libarnoldi_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/dnaupd.htm \
 help/eng/dneupd.htm \
 help/eng/dsaupd.htm \
@@ -130,3 +130,4 @@ help/eng/dseupd.htm \
 help/eng/znaupd.htm \
 help/eng/zneupd.htm
 
+include $(top_srcdir)/Makefile.incl.am
index ea5b7dc..621ad6a 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/arnoldi
 DIST_COMMON = $(libarnoldi_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/arnoldi
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +63,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libarnoldi_la_etcdir)" \
-       "$(DESTDIR)$(libarnoldi_la_helpendir)" \
-       "$(DESTDIR)$(libarnoldi_la_helpfrdir)" \
        "$(DESTDIR)$(libarnoldi_la_macrodir)" \
        "$(DESTDIR)$(libarnoldi_la_rootdir)" \
        "$(DESTDIR)$(libarnoldi_la_sci_gatewaydir)" \
@@ -131,13 +129,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libarnoldi_la_SOURCES)
 DIST_SOURCES = $(libarnoldi_la_SOURCES)
 libarnoldi_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libarnoldi_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libarnoldi_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libarnoldi_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libarnoldi_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libarnoldi_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libarnoldi_la_etc_DATA) $(libarnoldi_la_helpen_DATA) \
-       $(libarnoldi_la_helpfr_DATA) $(libarnoldi_la_macro_DATA) \
+DATA = $(libarnoldi_la_etc_DATA) $(libarnoldi_la_macro_DATA) \
        $(libarnoldi_la_root_DATA) $(libarnoldi_la_sci_gateway_DATA)
 libarnoldi_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(libarnoldi_la_include_HEADERS)
@@ -380,7 +375,7 @@ libarnoldi_la_sci_gateway_DATA = sci_gateway/arnoldi
 
 #### arnoldi : documentation FR #### 
 libarnoldi_la_helpfrdir = $(target)/help/fr
-libarnoldi_la_helpfr_DATA = help/fr/dsaupd.htm \
+libarnoldi_la_helpfr_DATA2 = help/fr/dsaupd.htm \
 help/fr/dseupd.htm \
 help/fr/znaupd.htm \
 help/fr/zneupd.htm \
@@ -391,7 +386,7 @@ help/fr/dnaupd.htm
 
 #### arnoldi : documentation EN #### 
 libarnoldi_la_helpendir = $(target)/help/eng
-libarnoldi_la_helpen_DATA = help/eng/whatis.htm \
+libarnoldi_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/dnaupd.htm \
 help/eng/dneupd.htm \
 help/eng/dsaupd.htm \
@@ -399,11 +394,19 @@ help/eng/dseupd.htm \
 help/eng/znaupd.htm \
 help/eng/zneupd.htm
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -730,40 +733,6 @@ uninstall-libarnoldi_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libarnoldi_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libarnoldi_la_etcdir)/$$f"; \
        done
-install-libarnoldi_la_helpenDATA: $(libarnoldi_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libarnoldi_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libarnoldi_la_helpendir)"
-       @list='$(libarnoldi_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libarnoldi_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libarnoldi_la_helpendir)/$$f'"; \
-         $(libarnoldi_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libarnoldi_la_helpendir)/$$f"; \
-       done
-
-uninstall-libarnoldi_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libarnoldi_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libarnoldi_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libarnoldi_la_helpendir)/$$f"; \
-       done
-install-libarnoldi_la_helpfrDATA: $(libarnoldi_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libarnoldi_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libarnoldi_la_helpfrdir)"
-       @list='$(libarnoldi_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libarnoldi_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libarnoldi_la_helpfrdir)/$$f'"; \
-         $(libarnoldi_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libarnoldi_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libarnoldi_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libarnoldi_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libarnoldi_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libarnoldi_la_helpfrdir)/$$f"; \
-       done
 install-libarnoldi_la_macroDATA: $(libarnoldi_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libarnoldi_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libarnoldi_la_macrodir)"
@@ -911,7 +880,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libarnoldi_la_etcdir)" "$(DESTDIR)$(libarnoldi_la_helpendir)" "$(DESTDIR)$(libarnoldi_la_helpfrdir)" "$(DESTDIR)$(libarnoldi_la_macrodir)" "$(DESTDIR)$(libarnoldi_la_rootdir)" "$(DESTDIR)$(libarnoldi_la_sci_gatewaydir)" "$(DESTDIR)$(libarnoldi_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libarnoldi_la_etcdir)" "$(DESTDIR)$(libarnoldi_la_macrodir)" "$(DESTDIR)$(libarnoldi_la_rootdir)" "$(DESTDIR)$(libarnoldi_la_sci_gatewaydir)" "$(DESTDIR)$(libarnoldi_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -960,8 +929,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libarnoldi_la_etcDATA \
-       install-libarnoldi_la_helpenDATA \
-       install-libarnoldi_la_helpfrDATA \
        install-libarnoldi_la_includeHEADERS \
        install-libarnoldi_la_macroDATA install-libarnoldi_la_rootDATA \
        install-libarnoldi_la_sci_gatewayDATA
@@ -972,6 +939,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1001,8 +970,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libarnoldi_la_etcDATA \
-       uninstall-libarnoldi_la_helpenDATA \
-       uninstall-libarnoldi_la_helpfrDATA \
        uninstall-libarnoldi_la_includeHEADERS \
        uninstall-libarnoldi_la_macroDATA \
        uninstall-libarnoldi_la_rootDATA \
@@ -1016,10 +983,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libarnoldi_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libarnoldi_la_etcDATA \
-       install-libarnoldi_la_helpenDATA \
-       install-libarnoldi_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libarnoldi_la_etcDATA \
        install-libarnoldi_la_includeHEADERS \
        install-libarnoldi_la_macroDATA install-libarnoldi_la_rootDATA \
        install-libarnoldi_la_sci_gatewayDATA install-man install-pdf \
@@ -1029,13 +995,51 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libarnoldi_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libarnoldi_la_etcDATA \
-       uninstall-libarnoldi_la_helpenDATA \
-       uninstall-libarnoldi_la_helpfrDATA \
        uninstall-libarnoldi_la_includeHEADERS \
        uninstall-libarnoldi_la_macroDATA \
        uninstall-libarnoldi_la_rootDATA \
        uninstall-libarnoldi_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 4f53811..a83cd1d 100644 (file)
@@ -27,7 +27,11 @@ libboolean_la_LIBADD = \
        $(top_builddir)/libs/blas/libblas.la \
        $(top_builddir)/modules/arnoldi/libarnoldi.la \
        $(top_builddir)/modules/elementaries_functions/libelementaries_functions.la 
-
+#$(top_builddir)/libs/blas/libblas.la:
+#      (cd $(top_builddir)/libs/blas/; make libblas.la)
+#SUFFIXES = .la
+#.la:
+#      echo "oh oh"
 libboolean_la_PKGCONFIG = boolean.pc
 
 datadir=${prefix}/modules
@@ -56,14 +60,14 @@ libboolean_la_sci_gateway_DATA = sci_gateway/boolean
 
 #### boolean : documentation FR #### 
 libboolean_la_helpfrdir = $(target)/help/fr
-libboolean_la_helpfr_DATA = help/fr/whatis.htm \
+libboolean_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/find.htm \
 help/fr/bool2s.htm
 
 
 #### boolean : documentation EN #### 
 libboolean_la_helpendir = $(target)/help/eng
-libboolean_la_helpen_DATA = help/eng/whatis.htm \
+libboolean_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/bool2s.htm \
 help/eng/find.htm
 
@@ -72,3 +76,4 @@ help/eng/find.htm
 libboolean_la_includedir=$(includedir)/boolean
 libboolean_la_include_HEADERS = includes/gw_boolean.h
 
+include $(top_srcdir)/Makefile.incl.am
index 28829ac..829ed59 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/boolean
 DIST_COMMON = $(libboolean_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/boolean
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +63,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libboolean_la_etcdir)" \
-       "$(DESTDIR)$(libboolean_la_helpendir)" \
-       "$(DESTDIR)$(libboolean_la_helpfrdir)" \
        "$(DESTDIR)$(libboolean_la_macrodir)" \
        "$(DESTDIR)$(libboolean_la_rootdir)" \
        "$(DESTDIR)$(libboolean_la_sci_gatewaydir)" \
@@ -105,13 +103,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libboolean_la_SOURCES)
 DIST_SOURCES = $(libboolean_la_SOURCES)
 libboolean_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libboolean_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libboolean_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libboolean_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libboolean_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libboolean_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libboolean_la_etc_DATA) $(libboolean_la_helpen_DATA) \
-       $(libboolean_la_helpfr_DATA) $(libboolean_la_macro_DATA) \
+DATA = $(libboolean_la_etc_DATA) $(libboolean_la_macro_DATA) \
        $(libboolean_la_root_DATA) $(libboolean_la_sci_gateway_DATA)
 libboolean_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(libboolean_la_include_HEADERS)
@@ -281,6 +276,11 @@ libboolean_la_LIBADD = \
        $(top_builddir)/modules/arnoldi/libarnoldi.la \
        $(top_builddir)/modules/elementaries_functions/libelementaries_functions.la 
 
+#$(top_builddir)/libs/blas/libblas.la:
+#      (cd $(top_builddir)/libs/blas/; make libblas.la)
+#SUFFIXES = .la
+#.la:
+#      echo "oh oh"
 libboolean_la_PKGCONFIG = boolean.pc
 #### Target ######
 target = $(datadir)/boolean
@@ -303,14 +303,14 @@ libboolean_la_sci_gateway_DATA = sci_gateway/boolean
 
 #### boolean : documentation FR #### 
 libboolean_la_helpfrdir = $(target)/help/fr
-libboolean_la_helpfr_DATA = help/fr/whatis.htm \
+libboolean_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/find.htm \
 help/fr/bool2s.htm
 
 
 #### boolean : documentation EN #### 
 libboolean_la_helpendir = $(target)/help/eng
-libboolean_la_helpen_DATA = help/eng/whatis.htm \
+libboolean_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/bool2s.htm \
 help/eng/find.htm
 
@@ -318,11 +318,19 @@ help/eng/find.htm
 #### boolean : include files ####
 libboolean_la_includedir = $(includedir)/boolean
 libboolean_la_include_HEADERS = includes/gw_boolean.h
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -500,40 +508,6 @@ uninstall-libboolean_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libboolean_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libboolean_la_etcdir)/$$f"; \
        done
-install-libboolean_la_helpenDATA: $(libboolean_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libboolean_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libboolean_la_helpendir)"
-       @list='$(libboolean_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libboolean_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libboolean_la_helpendir)/$$f'"; \
-         $(libboolean_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libboolean_la_helpendir)/$$f"; \
-       done
-
-uninstall-libboolean_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libboolean_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libboolean_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libboolean_la_helpendir)/$$f"; \
-       done
-install-libboolean_la_helpfrDATA: $(libboolean_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libboolean_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libboolean_la_helpfrdir)"
-       @list='$(libboolean_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libboolean_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libboolean_la_helpfrdir)/$$f'"; \
-         $(libboolean_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libboolean_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libboolean_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libboolean_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libboolean_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libboolean_la_helpfrdir)/$$f"; \
-       done
 install-libboolean_la_macroDATA: $(libboolean_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libboolean_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libboolean_la_macrodir)"
@@ -681,7 +655,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libboolean_la_etcdir)" "$(DESTDIR)$(libboolean_la_helpendir)" "$(DESTDIR)$(libboolean_la_helpfrdir)" "$(DESTDIR)$(libboolean_la_macrodir)" "$(DESTDIR)$(libboolean_la_rootdir)" "$(DESTDIR)$(libboolean_la_sci_gatewaydir)" "$(DESTDIR)$(libboolean_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libboolean_la_etcdir)" "$(DESTDIR)$(libboolean_la_macrodir)" "$(DESTDIR)$(libboolean_la_rootdir)" "$(DESTDIR)$(libboolean_la_sci_gatewaydir)" "$(DESTDIR)$(libboolean_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -730,8 +704,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libboolean_la_etcDATA \
-       install-libboolean_la_helpenDATA \
-       install-libboolean_la_helpfrDATA \
        install-libboolean_la_includeHEADERS \
        install-libboolean_la_macroDATA install-libboolean_la_rootDATA \
        install-libboolean_la_sci_gatewayDATA
@@ -742,6 +714,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -771,8 +745,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libboolean_la_etcDATA \
-       uninstall-libboolean_la_helpenDATA \
-       uninstall-libboolean_la_helpfrDATA \
        uninstall-libboolean_la_includeHEADERS \
        uninstall-libboolean_la_macroDATA \
        uninstall-libboolean_la_rootDATA \
@@ -786,10 +758,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libboolean_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libboolean_la_etcDATA \
-       install-libboolean_la_helpenDATA \
-       install-libboolean_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libboolean_la_etcDATA \
        install-libboolean_la_includeHEADERS \
        install-libboolean_la_macroDATA install-libboolean_la_rootDATA \
        install-libboolean_la_sci_gatewayDATA install-man install-pdf \
@@ -799,13 +770,51 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libboolean_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libboolean_la_etcDATA \
-       uninstall-libboolean_la_helpenDATA \
-       uninstall-libboolean_la_helpfrDATA \
        uninstall-libboolean_la_includeHEADERS \
        uninstall-libboolean_la_macroDATA \
        uninstall-libboolean_la_rootDATA \
        uninstall-libboolean_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 71aae0b..81489d1 100644 (file)
@@ -543,286 +543,6 @@ libcacsd_la_etc_DATA = etc/cacsd.quit etc/cacsd.start
 libcacsd_la_sci_gatewaydir = $(target)/sci_gateway
 libcacsd_la_sci_gateway_DATA = sci_gateway/cacsd
 
-#### cacsd : documentation FR #### 
-libcacsd_la_helpfrdir = $(target)/help/fr
-libcacsd_la_helpfr_DATA = help/fr/colinout.htm \
-help/fr/arl2.htm \
-help/fr/arma2p.htm \
-help/fr/armac.htm \
-help/fr/armax1.htm \
-help/fr/arma.htm \
-help/fr/armax.htm \
-help/fr/arsimul.htm \
-help/fr/augment.htm \
-help/fr/balreal.htm \
-help/fr/bilin.htm \
-help/fr/bstap.htm \
-help/fr/cainv.htm \
-help/fr/calfrq.htm \
-help/fr/canon.htm \
-help/fr/ccontrg.htm \
-help/fr/cls2dls.htm \
-help/fr/colregul.htm \
-help/fr/cont_frm.htm \
-help/fr/cont_mat.htm \
-help/fr/contrss.htm \
-help/fr/contr.htm \
-help/fr/copfac.htm \
-help/fr/csim.htm \
-help/fr/ctr_gram.htm \
-help/fr/dbphi.htm \
-help/fr/dcf.htm \
-help/fr/ddp.htm \
-help/fr/des2ss.htm \
-help/fr/dt_ility.htm \
-help/fr/dhnorm.htm \
-help/fr/dscr.htm \
-help/fr/dsimul.htm \
-help/fr/feedback.htm \
-help/fr/dtsi.htm \
-help/fr/equil1.htm \
-help/fr/equil.htm \
-help/fr/findx0BD.htm \
-help/fr/findAC.htm \
-help/fr/findBDK.htm \
-help/fr/findBD.htm \
-help/fr/findR.htm \
-help/fr/fourplan.htm \
-help/fr/flts.htm \
-help/fr/gfrancis.htm \
-help/fr/frep2tf.htm \
-help/fr/freq.htm \
-help/fr/freson.htm \
-help/fr/fspecg.htm \
-help/fr/fstabst.htm \
-help/fr/gamitg.htm \
-help/fr/gcare.htm \
-help/fr/gfare.htm \
-help/fr/arhnk.htm \
-help/fr/g_margin.htm \
-help/fr/gtild.htm \
-help/fr/h2norm.htm \
-help/fr/hankelsv.htm \
-help/fr/h_cl.htm \
-help/fr/h_inf_st.htm \
-help/fr/h_inf.htm \
-help/fr/hinf.htm \
-help/fr/h_norm.htm \
-help/fr/imrep2ss.htm \
-help/fr/inistate.htm \
-help/fr/invsyslin.htm \
-help/fr/kpure.htm \
-help/fr/krac2.htm \
-help/fr/lcf.htm \
-help/fr/leqr.htm \
-help/fr/lft.htm \
-help/fr/linfn.htm \
-help/fr/linf.htm \
-help/fr/linmeq.htm \
-help/fr/lin.htm \
-help/fr/lqe.htm \
-help/fr/lqg2stan.htm \
-help/fr/lqg_ltr.htm \
-help/fr/lqg.htm \
-help/fr/lqr.htm \
-help/fr/ltitr.htm \
-help/fr/macglov.htm \
-help/fr/markp2ss.htm \
-help/fr/minreal.htm \
-help/fr/minss.htm \
-help/fr/mucomp.htm \
-help/fr/narsimul.htm \
-help/fr/nehari.htm \
-help/fr/noisegen.htm \
-help/fr/obscont.htm \
-help/fr/observer.htm \
-help/fr/obs_gram.htm \
-help/fr/obsv_mat.htm \
-help/fr/obsvss.htm \
-help/fr/parrot.htm \
-help/fr/pfss.htm \
-help/fr/phasemag.htm \
-help/fr/p_margin.htm \
-help/fr/ppol.htm \
-help/fr/prbs_a.htm \
-help/fr/projsl.htm \
-help/fr/reglin.htm \
-help/fr/repfreq.htm \
-help/fr/riccati.htm \
-help/fr/ricc.htm \
-help/fr/ric_desc.htm \
-help/fr/rowinout.htm \
-help/fr/rowregul.htm \
-help/fr/rtitr.htm \
-help/fr/sensi.htm \
-help/fr/sident.htm \
-help/fr/sm2des.htm \
-help/fr/sm2ss.htm \
-help/fr/sorder.htm \
-help/fr/specfact.htm \
-help/fr/ss2des.htm \
-help/fr/ss2ss.htm \
-help/fr/ss2tf.htm \
-help/fr/stabil.htm \
-help/fr/st_ility.htm \
-help/fr/svplot.htm \
-help/fr/sysfact.htm \
-help/fr/syssize.htm \
-help/fr/tf2des.htm \
-help/fr/tf2ss.htm \
-help/fr/time_id.htm \
-help/fr/trzeros.htm \
-help/fr/ui_observer.htm \
-help/fr/unobs.htm \
-help/fr/zeropen.htm \
-help/fr/abcd.htm \
-help/fr/abinv.htm \
-help/fr/whatis.htm \
-help/fr/dhinf.htm \
-help/fr/des2tf.htm \
-help/fr/findABCD.htm
-
-
-#### cacsd : documentation EN #### 
-libcacsd_la_helpendir = $(target)/help/eng
-libcacsd_la_helpen_DATA = help/eng/whatis.htm \
-help/eng/colinout.htm \
-help/eng/abcd.htm \
-help/eng/abinv.htm \
-help/eng/arhnk.htm \
-help/eng/arl2.htm \
-help/eng/arma2p.htm \
-help/eng/armac.htm \
-help/eng/armax1.htm \
-help/eng/arma.htm \
-help/eng/armax.htm \
-help/eng/arsimul.htm \
-help/eng/augment.htm \
-help/eng/balreal.htm \
-help/eng/bilin.htm \
-help/eng/bstap.htm \
-help/eng/cainv.htm \
-help/eng/calfrq.htm \
-help/eng/canon.htm \
-help/eng/ccontrg.htm \
-help/eng/cls2dls.htm \
-help/eng/colregul.htm \
-help/eng/cont_frm.htm \
-help/eng/cont_mat.htm \
-help/eng/contrss.htm \
-help/eng/contr.htm \
-help/eng/copfac.htm \
-help/eng/csim.htm \
-help/eng/ctr_gram.htm \
-help/eng/dbphi.htm \
-help/eng/dcf.htm \
-help/eng/ddp.htm \
-help/eng/des2ss.htm \
-help/eng/des2tf.htm \
-help/eng/dhinf.htm \
-help/eng/dhnorm.htm \
-help/eng/dscr.htm \
-help/eng/dsimul.htm \
-help/eng/dt_ility.htm \
-help/eng/dtsi.htm \
-help/eng/equil1.htm \
-help/eng/equil.htm \
-help/eng/feedback.htm \
-help/eng/findABCD.htm \
-help/eng/findAC.htm \
-help/eng/findBDK.htm \
-help/eng/findBD.htm \
-help/eng/findR.htm \
-help/eng/findx0BD.htm \
-help/eng/flts.htm \
-help/eng/fourplan.htm \
-help/eng/frep2tf.htm \
-help/eng/freq.htm \
-help/eng/freson.htm \
-help/eng/fspecg.htm \
-help/eng/fstabst.htm \
-help/eng/gamitg.htm \
-help/eng/gcare.htm \
-help/eng/gfare.htm \
-help/eng/gfrancis.htm \
-help/eng/g_margin.htm \
-help/eng/gtild.htm \
-help/eng/h2norm.htm \
-help/eng/hankelsv.htm \
-help/eng/h_cl.htm \
-help/eng/h_inf_st.htm \
-help/eng/h_inf.htm \
-help/eng/hinf.htm \
-help/eng/h_norm.htm \
-help/eng/imrep2ss.htm \
-help/eng/inistate.htm \
-help/eng/invsyslin.htm \
-help/eng/kpure.htm \
-help/eng/krac2.htm \
-help/eng/lcf.htm \
-help/eng/leqr.htm \
-help/eng/lft.htm \
-help/eng/linfn.htm \
-help/eng/linf.htm \
-help/eng/linmeq.htm \
-help/eng/lin.htm \
-help/eng/lqe.htm \
-help/eng/lqg2stan.htm \
-help/eng/lqg_ltr.htm \
-help/eng/lqg.htm \
-help/eng/lqr.htm \
-help/eng/ltitr.htm \
-help/eng/macglov.htm \
-help/eng/markp2ss.htm \
-help/eng/minreal.htm \
-help/eng/minss.htm \
-help/eng/mucomp.htm \
-help/eng/narsimul.htm \
-help/eng/nehari.htm \
-help/eng/noisegen.htm \
-help/eng/obscont.htm \
-help/eng/observer.htm \
-help/eng/obs_gram.htm \
-help/eng/obsv_mat.htm \
-help/eng/obsvss.htm \
-help/eng/parrot.htm \
-help/eng/pfss.htm \
-help/eng/phasemag.htm \
-help/eng/p_margin.htm \
-help/eng/ppol.htm \
-help/eng/prbs_a.htm \
-help/eng/projsl.htm \
-help/eng/reglin.htm \
-help/eng/repfreq.htm \
-help/eng/riccati.htm \
-help/eng/ricc.htm \
-help/eng/ric_desc.htm \
-help/eng/rowinout.htm \
-help/eng/rowregul.htm \
-help/eng/rtitr.htm \
-help/eng/sensi.htm \
-help/eng/sident.htm \
-help/eng/sm2des.htm \
-help/eng/sm2ss.htm \
-help/eng/sorder.htm \
-help/eng/specfact.htm \
-help/eng/ss2des.htm \
-help/eng/ss2ss.htm \
-help/eng/ss2tf.htm \
-help/eng/stabil.htm \
-help/eng/st_ility.htm \
-help/eng/svplot.htm \
-help/eng/sysfact.htm \
-help/eng/syssize.htm \
-help/eng/tf2des.htm \
-help/eng/tf2ss.htm \
-help/eng/time_id.htm \
-help/eng/trzeros.htm \
-help/eng/ui_observer.htm \
-help/eng/unobs.htm \
-help/eng/zeropen.htm
-
-
 #### cacsd : include files ####
 libcacsd_la_includedir=$(includedir)/cacsd
 libcacsd_la_include_HEADERS = includes/gw_cacsd0.h \
@@ -839,9 +559,6 @@ demos/lqg/scheme.dem \
 demos/lqg/lqg2.dem \
 demos/flat/car.sci \
 demos/flat/truck.sci \
-demos/flat/demo_car_fr.htm \
-demos/flat/demo_car_eng.htm \
-demos/flat/demo_truck_fr.htm \
 demos/flat/flat.dem \
 demos/flat/fcts.sci \
 demos/flat/demo_truck_eng_htm \
@@ -857,3 +574,13 @@ demos/control.dem \
 demos/cont.dem \
 demos/mixed.dem
 
+#demos/flat/demo_car_fr.htm \
+#demos/flat/demo_car_eng.htm \
+#demos/flat/demo_truck_fr.htm
+include $(top_srcdir)/Makefile.incl.am
+
+#SUFFIXES += .htm
+#.htm:
+#      echo "$<"
+#      echo "$@"
+
index d5bf937..148ba9e 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/cacsd
 DIST_COMMON = $(libcacsd_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/cacsd
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +63,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libcacsd_la_etcdir)" \
-       "$(DESTDIR)$(libcacsd_la_helpendir)" \
-       "$(DESTDIR)$(libcacsd_la_helpfrdir)" \
        "$(DESTDIR)$(libcacsd_la_macrodir)" \
        "$(DESTDIR)$(libcacsd_la_rootdir)" \
        "$(DESTDIR)$(libcacsd_la_sci_gatewaydir)" \
@@ -199,14 +197,11 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libcacsd_la_SOURCES)
 DIST_SOURCES = $(libcacsd_la_SOURCES)
 libcacsd_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libcacsd_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libcacsd_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libcacsd_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libcacsd_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libcacsd_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 nobase_libcacsd_la_demosDATA_INSTALL = $(install_sh_DATA)
-DATA = $(libcacsd_la_etc_DATA) $(libcacsd_la_helpen_DATA) \
-       $(libcacsd_la_helpfr_DATA) $(libcacsd_la_macro_DATA) \
+DATA = $(libcacsd_la_etc_DATA) $(libcacsd_la_macro_DATA) \
        $(libcacsd_la_root_DATA) $(libcacsd_la_sci_gateway_DATA) \
        $(nobase_libcacsd_la_demos_DATA)
 libcacsd_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
@@ -881,286 +876,6 @@ libcacsd_la_etc_DATA = etc/cacsd.quit etc/cacsd.start
 libcacsd_la_sci_gatewaydir = $(target)/sci_gateway
 libcacsd_la_sci_gateway_DATA = sci_gateway/cacsd
 
-#### cacsd : documentation FR #### 
-libcacsd_la_helpfrdir = $(target)/help/fr
-libcacsd_la_helpfr_DATA = help/fr/colinout.htm \
-help/fr/arl2.htm \
-help/fr/arma2p.htm \
-help/fr/armac.htm \
-help/fr/armax1.htm \
-help/fr/arma.htm \
-help/fr/armax.htm \
-help/fr/arsimul.htm \
-help/fr/augment.htm \
-help/fr/balreal.htm \
-help/fr/bilin.htm \
-help/fr/bstap.htm \
-help/fr/cainv.htm \
-help/fr/calfrq.htm \
-help/fr/canon.htm \
-help/fr/ccontrg.htm \
-help/fr/cls2dls.htm \
-help/fr/colregul.htm \
-help/fr/cont_frm.htm \
-help/fr/cont_mat.htm \
-help/fr/contrss.htm \
-help/fr/contr.htm \
-help/fr/copfac.htm \
-help/fr/csim.htm \
-help/fr/ctr_gram.htm \
-help/fr/dbphi.htm \
-help/fr/dcf.htm \
-help/fr/ddp.htm \
-help/fr/des2ss.htm \
-help/fr/dt_ility.htm \
-help/fr/dhnorm.htm \
-help/fr/dscr.htm \
-help/fr/dsimul.htm \
-help/fr/feedback.htm \
-help/fr/dtsi.htm \
-help/fr/equil1.htm \
-help/fr/equil.htm \
-help/fr/findx0BD.htm \
-help/fr/findAC.htm \
-help/fr/findBDK.htm \
-help/fr/findBD.htm \
-help/fr/findR.htm \
-help/fr/fourplan.htm \
-help/fr/flts.htm \
-help/fr/gfrancis.htm \
-help/fr/frep2tf.htm \
-help/fr/freq.htm \
-help/fr/freson.htm \
-help/fr/fspecg.htm \
-help/fr/fstabst.htm \
-help/fr/gamitg.htm \
-help/fr/gcare.htm \
-help/fr/gfare.htm \
-help/fr/arhnk.htm \
-help/fr/g_margin.htm \
-help/fr/gtild.htm \
-help/fr/h2norm.htm \
-help/fr/hankelsv.htm \
-help/fr/h_cl.htm \
-help/fr/h_inf_st.htm \
-help/fr/h_inf.htm \
-help/fr/hinf.htm \
-help/fr/h_norm.htm \
-help/fr/imrep2ss.htm \
-help/fr/inistate.htm \
-help/fr/invsyslin.htm \
-help/fr/kpure.htm \
-help/fr/krac2.htm \
-help/fr/lcf.htm \
-help/fr/leqr.htm \
-help/fr/lft.htm \
-help/fr/linfn.htm \
-help/fr/linf.htm \
-help/fr/linmeq.htm \
-help/fr/lin.htm \
-help/fr/lqe.htm \
-help/fr/lqg2stan.htm \
-help/fr/lqg_ltr.htm \
-help/fr/lqg.htm \
-help/fr/lqr.htm \
-help/fr/ltitr.htm \
-help/fr/macglov.htm \
-help/fr/markp2ss.htm \
-help/fr/minreal.htm \
-help/fr/minss.htm \
-help/fr/mucomp.htm \
-help/fr/narsimul.htm \
-help/fr/nehari.htm \
-help/fr/noisegen.htm \
-help/fr/obscont.htm \
-help/fr/observer.htm \
-help/fr/obs_gram.htm \
-help/fr/obsv_mat.htm \
-help/fr/obsvss.htm \
-help/fr/parrot.htm \
-help/fr/pfss.htm \
-help/fr/phasemag.htm \
-help/fr/p_margin.htm \
-help/fr/ppol.htm \
-help/fr/prbs_a.htm \
-help/fr/projsl.htm \
-help/fr/reglin.htm \
-help/fr/repfreq.htm \
-help/fr/riccati.htm \
-help/fr/ricc.htm \
-help/fr/ric_desc.htm \
-help/fr/rowinout.htm \
-help/fr/rowregul.htm \
-help/fr/rtitr.htm \
-help/fr/sensi.htm \
-help/fr/sident.htm \
-help/fr/sm2des.htm \
-help/fr/sm2ss.htm \
-help/fr/sorder.htm \
-help/fr/specfact.htm \
-help/fr/ss2des.htm \
-help/fr/ss2ss.htm \
-help/fr/ss2tf.htm \
-help/fr/stabil.htm \
-help/fr/st_ility.htm \
-help/fr/svplot.htm \
-help/fr/sysfact.htm \
-help/fr/syssize.htm \
-help/fr/tf2des.htm \
-help/fr/tf2ss.htm \
-help/fr/time_id.htm \
-help/fr/trzeros.htm \
-help/fr/ui_observer.htm \
-help/fr/unobs.htm \
-help/fr/zeropen.htm \
-help/fr/abcd.htm \
-help/fr/abinv.htm \
-help/fr/whatis.htm \
-help/fr/dhinf.htm \
-help/fr/des2tf.htm \
-help/fr/findABCD.htm
-
-
-#### cacsd : documentation EN #### 
-libcacsd_la_helpendir = $(target)/help/eng
-libcacsd_la_helpen_DATA = help/eng/whatis.htm \
-help/eng/colinout.htm \
-help/eng/abcd.htm \
-help/eng/abinv.htm \
-help/eng/arhnk.htm \
-help/eng/arl2.htm \
-help/eng/arma2p.htm \
-help/eng/armac.htm \
-help/eng/armax1.htm \
-help/eng/arma.htm \
-help/eng/armax.htm \
-help/eng/arsimul.htm \
-help/eng/augment.htm \
-help/eng/balreal.htm \
-help/eng/bilin.htm \
-help/eng/bstap.htm \
-help/eng/cainv.htm \
-help/eng/calfrq.htm \
-help/eng/canon.htm \
-help/eng/ccontrg.htm \
-help/eng/cls2dls.htm \
-help/eng/colregul.htm \
-help/eng/cont_frm.htm \
-help/eng/cont_mat.htm \
-help/eng/contrss.htm \
-help/eng/contr.htm \
-help/eng/copfac.htm \
-help/eng/csim.htm \
-help/eng/ctr_gram.htm \
-help/eng/dbphi.htm \
-help/eng/dcf.htm \
-help/eng/ddp.htm \
-help/eng/des2ss.htm \
-help/eng/des2tf.htm \
-help/eng/dhinf.htm \
-help/eng/dhnorm.htm \
-help/eng/dscr.htm \
-help/eng/dsimul.htm \
-help/eng/dt_ility.htm \
-help/eng/dtsi.htm \
-help/eng/equil1.htm \
-help/eng/equil.htm \
-help/eng/feedback.htm \
-help/eng/findABCD.htm \
-help/eng/findAC.htm \
-help/eng/findBDK.htm \
-help/eng/findBD.htm \
-help/eng/findR.htm \
-help/eng/findx0BD.htm \
-help/eng/flts.htm \
-help/eng/fourplan.htm \
-help/eng/frep2tf.htm \
-help/eng/freq.htm \
-help/eng/freson.htm \
-help/eng/fspecg.htm \
-help/eng/fstabst.htm \
-help/eng/gamitg.htm \
-help/eng/gcare.htm \
-help/eng/gfare.htm \
-help/eng/gfrancis.htm \
-help/eng/g_margin.htm \
-help/eng/gtild.htm \
-help/eng/h2norm.htm \
-help/eng/hankelsv.htm \
-help/eng/h_cl.htm \
-help/eng/h_inf_st.htm \
-help/eng/h_inf.htm \
-help/eng/hinf.htm \
-help/eng/h_norm.htm \
-help/eng/imrep2ss.htm \
-help/eng/inistate.htm \
-help/eng/invsyslin.htm \
-help/eng/kpure.htm \
-help/eng/krac2.htm \
-help/eng/lcf.htm \
-help/eng/leqr.htm \
-help/eng/lft.htm \
-help/eng/linfn.htm \
-help/eng/linf.htm \
-help/eng/linmeq.htm \
-help/eng/lin.htm \
-help/eng/lqe.htm \
-help/eng/lqg2stan.htm \
-help/eng/lqg_ltr.htm \
-help/eng/lqg.htm \
-help/eng/lqr.htm \
-help/eng/ltitr.htm \
-help/eng/macglov.htm \
-help/eng/markp2ss.htm \
-help/eng/minreal.htm \
-help/eng/minss.htm \
-help/eng/mucomp.htm \
-help/eng/narsimul.htm \
-help/eng/nehari.htm \
-help/eng/noisegen.htm \
-help/eng/obscont.htm \
-help/eng/observer.htm \
-help/eng/obs_gram.htm \
-help/eng/obsv_mat.htm \
-help/eng/obsvss.htm \
-help/eng/parrot.htm \
-help/eng/pfss.htm \
-help/eng/phasemag.htm \
-help/eng/p_margin.htm \
-help/eng/ppol.htm \
-help/eng/prbs_a.htm \
-help/eng/projsl.htm \
-help/eng/reglin.htm \
-help/eng/repfreq.htm \
-help/eng/riccati.htm \
-help/eng/ricc.htm \
-help/eng/ric_desc.htm \
-help/eng/rowinout.htm \
-help/eng/rowregul.htm \
-help/eng/rtitr.htm \
-help/eng/sensi.htm \
-help/eng/sident.htm \
-help/eng/sm2des.htm \
-help/eng/sm2ss.htm \
-help/eng/sorder.htm \
-help/eng/specfact.htm \
-help/eng/ss2des.htm \
-help/eng/ss2ss.htm \
-help/eng/ss2tf.htm \
-help/eng/stabil.htm \
-help/eng/st_ility.htm \
-help/eng/svplot.htm \
-help/eng/sysfact.htm \
-help/eng/syssize.htm \
-help/eng/tf2des.htm \
-help/eng/tf2ss.htm \
-help/eng/time_id.htm \
-help/eng/trzeros.htm \
-help/eng/ui_observer.htm \
-help/eng/unobs.htm \
-help/eng/zeropen.htm
-
-
 #### cacsd : include files ####
 libcacsd_la_includedir = $(includedir)/cacsd
 libcacsd_la_include_HEADERS = includes/gw_cacsd0.h \
@@ -1177,9 +892,6 @@ demos/lqg/scheme.dem \
 demos/lqg/lqg2.dem \
 demos/flat/car.sci \
 demos/flat/truck.sci \
-demos/flat/demo_car_fr.htm \
-demos/flat/demo_car_eng.htm \
-demos/flat/demo_truck_fr.htm \
 demos/flat/flat.dem \
 demos/flat/fcts.sci \
 demos/flat/demo_truck_eng_htm \
@@ -1195,11 +907,19 @@ demos/control.dem \
 demos/cont.dem \
 demos/mixed.dem
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -2009,40 +1729,6 @@ uninstall-libcacsd_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libcacsd_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libcacsd_la_etcdir)/$$f"; \
        done
-install-libcacsd_la_helpenDATA: $(libcacsd_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libcacsd_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libcacsd_la_helpendir)"
-       @list='$(libcacsd_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libcacsd_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libcacsd_la_helpendir)/$$f'"; \
-         $(libcacsd_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libcacsd_la_helpendir)/$$f"; \
-       done
-
-uninstall-libcacsd_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libcacsd_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libcacsd_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libcacsd_la_helpendir)/$$f"; \
-       done
-install-libcacsd_la_helpfrDATA: $(libcacsd_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libcacsd_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libcacsd_la_helpfrdir)"
-       @list='$(libcacsd_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libcacsd_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libcacsd_la_helpfrdir)/$$f'"; \
-         $(libcacsd_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libcacsd_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libcacsd_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libcacsd_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libcacsd_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libcacsd_la_helpfrdir)/$$f"; \
-       done
 install-libcacsd_la_macroDATA: $(libcacsd_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libcacsd_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libcacsd_la_macrodir)"
@@ -2209,7 +1895,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libcacsd_la_etcdir)" "$(DESTDIR)$(libcacsd_la_helpendir)" "$(DESTDIR)$(libcacsd_la_helpfrdir)" "$(DESTDIR)$(libcacsd_la_macrodir)" "$(DESTDIR)$(libcacsd_la_rootdir)" "$(DESTDIR)$(libcacsd_la_sci_gatewaydir)" "$(DESTDIR)$(libcacsd_la_demosdir)" "$(DESTDIR)$(libcacsd_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libcacsd_la_etcdir)" "$(DESTDIR)$(libcacsd_la_macrodir)" "$(DESTDIR)$(libcacsd_la_rootdir)" "$(DESTDIR)$(libcacsd_la_sci_gatewaydir)" "$(DESTDIR)$(libcacsd_la_demosdir)" "$(DESTDIR)$(libcacsd_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -2258,7 +1944,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libcacsd_la_etcDATA \
-       install-libcacsd_la_helpenDATA install-libcacsd_la_helpfrDATA \
        install-libcacsd_la_includeHEADERS \
        install-libcacsd_la_macroDATA install-libcacsd_la_rootDATA \
        install-libcacsd_la_sci_gatewayDATA \
@@ -2270,6 +1955,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -2299,8 +1986,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libcacsd_la_etcDATA \
-       uninstall-libcacsd_la_helpenDATA \
-       uninstall-libcacsd_la_helpfrDATA \
        uninstall-libcacsd_la_includeHEADERS \
        uninstall-libcacsd_la_macroDATA uninstall-libcacsd_la_rootDATA \
        uninstall-libcacsd_la_sci_gatewayDATA \
@@ -2314,10 +1999,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libcacsd_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libcacsd_la_etcDATA \
-       install-libcacsd_la_helpenDATA install-libcacsd_la_helpfrDATA \
-       install-libcacsd_la_includeHEADERS \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libcacsd_la_etcDATA install-libcacsd_la_includeHEADERS \
        install-libcacsd_la_macroDATA install-libcacsd_la_rootDATA \
        install-libcacsd_la_sci_gatewayDATA install-man \
        install-nobase_libcacsd_la_demosDATA install-pdf \
@@ -2326,13 +2010,61 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libcacsd_la_etcDATA \
        maintainer-clean-generic mostlyclean mostlyclean-compile \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
-       uninstall-libcacsd_la_etcDATA uninstall-libcacsd_la_helpenDATA \
-       uninstall-libcacsd_la_helpfrDATA \
+       uninstall-libcacsd_la_etcDATA \
        uninstall-libcacsd_la_includeHEADERS \
        uninstall-libcacsd_la_macroDATA uninstall-libcacsd_la_rootDATA \
        uninstall-libcacsd_la_sci_gatewayDATA \
        uninstall-nobase_libcacsd_la_demosDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
+
+#demos/flat/demo_car_fr.htm \
+#demos/flat/demo_car_eng.htm \
+#demos/flat/demo_truck_fr.htm
+
+#SUFFIXES += .htm
+#.htm:
+#      echo "$<"
+#      echo "$@"
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 5303981..e350280 100644 (file)
@@ -385,7 +385,7 @@ libcore_la_sci_gateway_DATA = sci_gateway/core
 
 #### core : documentation FR #### 
 libcore_la_helpfrdir = $(target)/help/fr
-libcore_la_helpfr_DATA = help/fr/with_tk.htm \
+libcore_la_helpfr_DATA2 = help/fr/with_tk.htm \
 help/fr/intppty.htm \
 help/fr/continue.htm \
 help/fr/c_link.htm \
@@ -525,7 +525,7 @@ help/fr/with_macros_source.htm
 
 #### core : documentation EN #### 
 libcore_la_helpendir = $(target)/help/eng
-libcore_la_helpen_DATA = help/eng/whatis.htm \
+libcore_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/resethistory.htm \
 help/eng/stacksize.htm \
 help/eng/getmodules.htm \
@@ -708,3 +708,4 @@ demos/intro/dem01.dem \
 demos/intro/extc.sce \
 demos/intro/Makefile
 
+include $(top_srcdir)/Makefile.incl.am
index ff9bc3f..3ef7749 100644 (file)
@@ -43,9 +43,9 @@ host_triplet = @host@
 @IS_HPUX_TRUE@am__append_2 = src/c/getarg-hpux.c
 @IS_HPUX_FALSE@am__append_3 = src/fortran/fgetarg.f
 @IS_HPUX_FALSE@am__append_4 = src/c/getarg.c
-subdir = modules/core
 DIST_COMMON = $(libcore_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/core
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -68,8 +68,6 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libcore_la_demosintrodir)" \
        "$(DESTDIR)$(libcore_la_etcdir)" \
-       "$(DESTDIR)$(libcore_la_helpendir)" \
-       "$(DESTDIR)$(libcore_la_helpfrdir)" \
        "$(DESTDIR)$(libcore_la_macrodir)" \
        "$(DESTDIR)$(libcore_la_rootdir)" \
        "$(DESTDIR)$(libcore_la_sci_gatewaydir)" \
@@ -353,13 +351,10 @@ SOURCES = $(libcore_la_SOURCES)
 DIST_SOURCES = $(am__libcore_la_SOURCES_DIST)
 libcore_la_demosintroDATA_INSTALL = $(INSTALL_DATA)
 libcore_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libcore_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libcore_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libcore_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libcore_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libcore_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libcore_la_demosintro_DATA) $(libcore_la_etc_DATA) \
-       $(libcore_la_helpen_DATA) $(libcore_la_helpfr_DATA) \
        $(libcore_la_macro_DATA) $(libcore_la_root_DATA) \
        $(libcore_la_sci_gateway_DATA)
 libcore_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
@@ -756,7 +751,7 @@ libcore_la_sci_gateway_DATA = sci_gateway/core
 
 #### core : documentation FR #### 
 libcore_la_helpfrdir = $(target)/help/fr
-libcore_la_helpfr_DATA = help/fr/with_tk.htm \
+libcore_la_helpfr_DATA2 = help/fr/with_tk.htm \
 help/fr/intppty.htm \
 help/fr/continue.htm \
 help/fr/c_link.htm \
@@ -896,7 +891,7 @@ help/fr/with_macros_source.htm
 
 #### core : documentation EN #### 
 libcore_la_helpendir = $(target)/help/eng
-libcore_la_helpen_DATA = help/eng/whatis.htm \
+libcore_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/resethistory.htm \
 help/eng/stacksize.htm \
 help/eng/getmodules.htm \
@@ -1079,11 +1074,19 @@ demos/intro/dem01.dem \
 demos/intro/extc.sce \
 demos/intro/Makefile
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -2739,40 +2742,6 @@ uninstall-libcore_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libcore_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libcore_la_etcdir)/$$f"; \
        done
-install-libcore_la_helpenDATA: $(libcore_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libcore_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libcore_la_helpendir)"
-       @list='$(libcore_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libcore_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libcore_la_helpendir)/$$f'"; \
-         $(libcore_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libcore_la_helpendir)/$$f"; \
-       done
-
-uninstall-libcore_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libcore_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libcore_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libcore_la_helpendir)/$$f"; \
-       done
-install-libcore_la_helpfrDATA: $(libcore_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libcore_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libcore_la_helpfrdir)"
-       @list='$(libcore_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libcore_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libcore_la_helpfrdir)/$$f'"; \
-         $(libcore_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libcore_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libcore_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libcore_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libcore_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libcore_la_helpfrdir)/$$f"; \
-       done
 install-libcore_la_macroDATA: $(libcore_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libcore_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libcore_la_macrodir)"
@@ -2920,7 +2889,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libcore_la_demosintrodir)" "$(DESTDIR)$(libcore_la_etcdir)" "$(DESTDIR)$(libcore_la_helpendir)" "$(DESTDIR)$(libcore_la_helpfrdir)" "$(DESTDIR)$(libcore_la_macrodir)" "$(DESTDIR)$(libcore_la_rootdir)" "$(DESTDIR)$(libcore_la_sci_gatewaydir)" "$(DESTDIR)$(libcore_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libcore_la_demosintrodir)" "$(DESTDIR)$(libcore_la_etcdir)" "$(DESTDIR)$(libcore_la_macrodir)" "$(DESTDIR)$(libcore_la_rootdir)" "$(DESTDIR)$(libcore_la_sci_gatewaydir)" "$(DESTDIR)$(libcore_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -2969,10 +2938,9 @@ info: info-am
 info-am:
 
 install-data-am: install-libcore_la_demosintroDATA \
-       install-libcore_la_etcDATA install-libcore_la_helpenDATA \
-       install-libcore_la_helpfrDATA \
-       install-libcore_la_includeHEADERS install-libcore_la_macroDATA \
-       install-libcore_la_rootDATA install-libcore_la_sci_gatewayDATA
+       install-libcore_la_etcDATA install-libcore_la_includeHEADERS \
+       install-libcore_la_macroDATA install-libcore_la_rootDATA \
+       install-libcore_la_sci_gatewayDATA
 
 install-dvi: install-dvi-am
 
@@ -2980,6 +2948,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -3010,8 +2980,7 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libcore_la_demosintroDATA \
-       uninstall-libcore_la_etcDATA uninstall-libcore_la_helpenDATA \
-       uninstall-libcore_la_helpfrDATA \
+       uninstall-libcore_la_etcDATA \
        uninstall-libcore_la_includeHEADERS \
        uninstall-libcore_la_macroDATA uninstall-libcore_la_rootDATA \
        uninstall-libcore_la_sci_gatewayDATA
@@ -3024,10 +2993,9 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libcore_la_demosintroDATA \
-       install-libcore_la_etcDATA install-libcore_la_helpenDATA \
-       install-libcore_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libcore_la_demosintroDATA install-libcore_la_etcDATA \
        install-libcore_la_includeHEADERS install-libcore_la_macroDATA \
        install-libcore_la_rootDATA install-libcore_la_sci_gatewayDATA \
        install-man install-pdf install-pdf-am install-ps \
@@ -3037,12 +3005,51 @@ uninstall-am: uninstall-libLTLIBRARIES \
        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
        uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libcore_la_demosintroDATA \
-       uninstall-libcore_la_etcDATA uninstall-libcore_la_helpenDATA \
-       uninstall-libcore_la_helpfrDATA \
+       uninstall-libcore_la_etcDATA \
        uninstall-libcore_la_includeHEADERS \
        uninstall-libcore_la_macroDATA uninstall-libcore_la_rootDATA \
        uninstall-libcore_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 923b073..35e3cc0 100644 (file)
@@ -3,6 +3,7 @@
 ### INRIA - Scilab 2006 
 ##########
 
+
 DATA_STRUCTURES_C_SOURCES = src/c/stcreate.c \
 src/c/hmops.c \
 src/c/DoublyLinkedList.c
@@ -52,6 +53,11 @@ libdata_structures_la_LIBADD = \
 
 libdata_structures_la_PKGCONFIG = data_structures.pc
 
+SUFFIXES = .sci
+.sci:
+       $(top_builddir)/scilab-bin -nb -l eng -nouserstartup -nwni -e "xmltohtml();exit;"
+
+
 datadir=${prefix}/modules
 #### Target ######
 target=$(datadir)/data_structures
@@ -86,7 +92,7 @@ libdata_structures_la_sci_gateway_DATA = sci_gateway/data_structures
 
 #### data_structures : documentation FR #### 
 libdata_structures_la_helpfrdir = $(target)/help/fr
-libdata_structures_la_helpfr_DATA = help/fr/whatis.htm \
+libdata_structures_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/getfield.htm \
 help/fr/definedfields.htm \
 help/fr/list.htm \
@@ -101,7 +107,7 @@ help/fr/tlist.htm
 
 #### data_structures : documentation EN #### 
 libdata_structures_la_helpendir = $(target)/help/eng
-libdata_structures_la_helpen_DATA = help/eng/whatis.htm \
+libdata_structures_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/definedfields.htm \
 help/eng/getfield.htm \
 help/eng/list.htm \
@@ -120,3 +126,4 @@ libdata_structures_la_include_HEADERS = includes/gw_data_structures1.h \
 includes/gw_data_structures2.h \
 includes/DoublyLinkedList.h
 
+include $(top_srcdir)/Makefile.incl.am
index e800aca..8b22abf 100644 (file)
@@ -39,9 +39,10 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/data_structures
 DIST_COMMON = $(libdata_structures_la_include_HEADERS) \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
+subdir = modules/data_structures
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +64,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libdata_structures_la_etcdir)" \
-       "$(DESTDIR)$(libdata_structures_la_helpendir)" \
-       "$(DESTDIR)$(libdata_structures_la_helpfrdir)" \
        "$(DESTDIR)$(libdata_structures_la_macrodir)" \
        "$(DESTDIR)$(libdata_structures_la_rootdir)" \
        "$(DESTDIR)$(libdata_structures_la_sci_gatewaydir)" \
@@ -120,14 +119,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libdata_structures_la_SOURCES)
 DIST_SOURCES = $(libdata_structures_la_SOURCES)
 libdata_structures_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libdata_structures_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libdata_structures_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libdata_structures_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libdata_structures_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libdata_structures_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libdata_structures_la_etc_DATA) \
-       $(libdata_structures_la_helpen_DATA) \
-       $(libdata_structures_la_helpfr_DATA) \
        $(libdata_structures_la_macro_DATA) \
        $(libdata_structures_la_root_DATA) \
        $(libdata_structures_la_sci_gateway_DATA)
@@ -323,6 +318,9 @@ libdata_structures_la_LIBADD = \
        $(top_builddir)/libs/MALLOC/libmalloc.la
 
 libdata_structures_la_PKGCONFIG = data_structures.pc
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
 #### Target ######
 target = $(datadir)/data_structures
 
@@ -353,7 +351,7 @@ libdata_structures_la_sci_gateway_DATA = sci_gateway/data_structures
 
 #### data_structures : documentation FR #### 
 libdata_structures_la_helpfrdir = $(target)/help/fr
-libdata_structures_la_helpfr_DATA = help/fr/whatis.htm \
+libdata_structures_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/getfield.htm \
 help/fr/definedfields.htm \
 help/fr/list.htm \
@@ -368,7 +366,7 @@ help/fr/tlist.htm
 
 #### data_structures : documentation EN #### 
 libdata_structures_la_helpendir = $(target)/help/eng
-libdata_structures_la_helpen_DATA = help/eng/whatis.htm \
+libdata_structures_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/definedfields.htm \
 help/eng/getfield.htm \
 help/eng/list.htm \
@@ -387,11 +385,16 @@ libdata_structures_la_include_HEADERS = includes/gw_data_structures1.h \
 includes/gw_data_structures2.h \
 includes/DoublyLinkedList.h
 
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -675,40 +678,6 @@ uninstall-libdata_structures_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libdata_structures_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libdata_structures_la_etcdir)/$$f"; \
        done
-install-libdata_structures_la_helpenDATA: $(libdata_structures_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdata_structures_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libdata_structures_la_helpendir)"
-       @list='$(libdata_structures_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdata_structures_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdata_structures_la_helpendir)/$$f'"; \
-         $(libdata_structures_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdata_structures_la_helpendir)/$$f"; \
-       done
-
-uninstall-libdata_structures_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdata_structures_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdata_structures_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdata_structures_la_helpendir)/$$f"; \
-       done
-install-libdata_structures_la_helpfrDATA: $(libdata_structures_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdata_structures_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libdata_structures_la_helpfrdir)"
-       @list='$(libdata_structures_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdata_structures_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdata_structures_la_helpfrdir)/$$f'"; \
-         $(libdata_structures_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdata_structures_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libdata_structures_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdata_structures_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdata_structures_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdata_structures_la_helpfrdir)/$$f"; \
-       done
 install-libdata_structures_la_macroDATA: $(libdata_structures_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libdata_structures_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libdata_structures_la_macrodir)"
@@ -856,7 +825,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdata_structures_la_etcdir)" "$(DESTDIR)$(libdata_structures_la_helpendir)" "$(DESTDIR)$(libdata_structures_la_helpfrdir)" "$(DESTDIR)$(libdata_structures_la_macrodir)" "$(DESTDIR)$(libdata_structures_la_rootdir)" "$(DESTDIR)$(libdata_structures_la_sci_gatewaydir)" "$(DESTDIR)$(libdata_structures_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdata_structures_la_etcdir)" "$(DESTDIR)$(libdata_structures_la_macrodir)" "$(DESTDIR)$(libdata_structures_la_rootdir)" "$(DESTDIR)$(libdata_structures_la_sci_gatewaydir)" "$(DESTDIR)$(libdata_structures_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -905,8 +874,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libdata_structures_la_etcDATA \
-       install-libdata_structures_la_helpenDATA \
-       install-libdata_structures_la_helpfrDATA \
        install-libdata_structures_la_includeHEADERS \
        install-libdata_structures_la_macroDATA \
        install-libdata_structures_la_rootDATA \
@@ -918,6 +885,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -948,8 +917,6 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libdata_structures_la_etcDATA \
-       uninstall-libdata_structures_la_helpenDATA \
-       uninstall-libdata_structures_la_helpfrDATA \
        uninstall-libdata_structures_la_includeHEADERS \
        uninstall-libdata_structures_la_macroDATA \
        uninstall-libdata_structures_la_rootDATA \
@@ -963,10 +930,9 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libdata_structures_la_etcDATA \
-       install-libdata_structures_la_helpenDATA \
-       install-libdata_structures_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libdata_structures_la_etcDATA \
        install-libdata_structures_la_includeHEADERS \
        install-libdata_structures_la_macroDATA \
        install-libdata_structures_la_rootDATA \
@@ -978,13 +944,53 @@ uninstall-am: uninstall-libLTLIBRARIES \
        pdf pdf-am ps ps-am tags uninstall uninstall-am \
        uninstall-libLTLIBRARIES \
        uninstall-libdata_structures_la_etcDATA \
-       uninstall-libdata_structures_la_helpenDATA \
-       uninstall-libdata_structures_la_helpfrDATA \
        uninstall-libdata_structures_la_includeHEADERS \
        uninstall-libdata_structures_la_macroDATA \
        uninstall-libdata_structures_la_rootDATA \
        uninstall-libdata_structures_la_sci_gatewayDATA
 
+.sci:
+       $(top_builddir)/scilab-bin -nb -l eng -nouserstartup -nwni -e "xmltohtml();exit;"
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index f8adc4f..d6bd4ea 100644 (file)
@@ -28,10 +28,11 @@ libdevelopment_tools_la_etc_DATA = etc/development_tools.quit etc/development_to
 
 #### development_tools : documentation FR #### 
 libdevelopment_tools_la_helpfrdir = $(target)/help/fr
-libdevelopment_tools_la_helpfr_DATA = 
+libdevelopment_tools_la_helpfr_DATA2 = 
 
 
 #### development_tools : documentation EN #### 
 libdevelopment_tools_la_helpendir = $(target)/help/eng
-libdevelopment_tools_la_helpen_DATA = 
+libdevelopment_tools_la_helpen_DATA2 = 
 
+include $(top_srcdir)/Makefile.incl.am
index a92aa60..f671b3e 100644 (file)
@@ -37,8 +37,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/development_tools
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -61,18 +62,12 @@ am__vpath_adj = case $$p in \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdevelopment_tools_la_etcdir)" \
-       "$(DESTDIR)$(libdevelopment_tools_la_helpendir)" \
-       "$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)" \
        "$(DESTDIR)$(libdevelopment_tools_la_macrodir)" \
        "$(DESTDIR)$(libdevelopment_tools_la_rootdir)"
 libdevelopment_tools_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libdevelopment_tools_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libdevelopment_tools_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libdevelopment_tools_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libdevelopment_tools_la_rootDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libdevelopment_tools_la_etc_DATA) \
-       $(libdevelopment_tools_la_helpen_DATA) \
-       $(libdevelopment_tools_la_helpfr_DATA) \
        $(libdevelopment_tools_la_macro_DATA) \
        $(libdevelopment_tools_la_root_DATA)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -237,15 +232,24 @@ libdevelopment_tools_la_etc_DATA = etc/development_tools.quit etc/development_to
 
 #### development_tools : documentation FR #### 
 libdevelopment_tools_la_helpfrdir = $(target)/help/fr
-libdevelopment_tools_la_helpfr_DATA = 
+libdevelopment_tools_la_helpfr_DATA2 = 
 
 #### development_tools : documentation EN #### 
 libdevelopment_tools_la_helpendir = $(target)/help/eng
-libdevelopment_tools_la_helpen_DATA = 
+libdevelopment_tools_la_helpen_DATA2 = 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -297,40 +301,6 @@ uninstall-libdevelopment_tools_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libdevelopment_tools_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libdevelopment_tools_la_etcdir)/$$f"; \
        done
-install-libdevelopment_tools_la_helpenDATA: $(libdevelopment_tools_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdevelopment_tools_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libdevelopment_tools_la_helpendir)"
-       @list='$(libdevelopment_tools_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdevelopment_tools_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdevelopment_tools_la_helpendir)/$$f'"; \
-         $(libdevelopment_tools_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdevelopment_tools_la_helpendir)/$$f"; \
-       done
-
-uninstall-libdevelopment_tools_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdevelopment_tools_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdevelopment_tools_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdevelopment_tools_la_helpendir)/$$f"; \
-       done
-install-libdevelopment_tools_la_helpfrDATA: $(libdevelopment_tools_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdevelopment_tools_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)"
-       @list='$(libdevelopment_tools_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdevelopment_tools_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)/$$f'"; \
-         $(libdevelopment_tools_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libdevelopment_tools_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdevelopment_tools_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)/$$f"; \
-       done
 install-libdevelopment_tools_la_macroDATA: $(libdevelopment_tools_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libdevelopment_tools_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libdevelopment_tools_la_macrodir)"
@@ -402,7 +372,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libdevelopment_tools_la_etcdir)" "$(DESTDIR)$(libdevelopment_tools_la_helpendir)" "$(DESTDIR)$(libdevelopment_tools_la_helpfrdir)" "$(DESTDIR)$(libdevelopment_tools_la_macrodir)" "$(DESTDIR)$(libdevelopment_tools_la_rootdir)"; do \
+       for dir in "$(DESTDIR)$(libdevelopment_tools_la_etcdir)" "$(DESTDIR)$(libdevelopment_tools_la_macrodir)" "$(DESTDIR)$(libdevelopment_tools_la_rootdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -448,8 +418,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libdevelopment_tools_la_etcDATA \
-       install-libdevelopment_tools_la_helpenDATA \
-       install-libdevelopment_tools_la_helpfrDATA \
        install-libdevelopment_tools_la_macroDATA \
        install-libdevelopment_tools_la_rootDATA
 
@@ -459,6 +427,8 @@ install-exec-am:
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -486,8 +456,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libdevelopment_tools_la_etcDATA \
-       uninstall-libdevelopment_tools_la_helpenDATA \
-       uninstall-libdevelopment_tools_la_helpfrDATA \
        uninstall-libdevelopment_tools_la_macroDATA \
        uninstall-libdevelopment_tools_la_rootDATA
 
@@ -498,10 +466,8 @@ uninstall-am: uninstall-libdevelopment_tools_la_etcDATA \
        dvi-am html html-am info info-am install install-am \
        install-data install-data-am install-dvi install-dvi-am \
        install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am \
+       install-html-local install-info install-info-am \
        install-libdevelopment_tools_la_etcDATA \
-       install-libdevelopment_tools_la_helpenDATA \
-       install-libdevelopment_tools_la_helpfrDATA \
        install-libdevelopment_tools_la_macroDATA \
        install-libdevelopment_tools_la_rootDATA install-man \
        install-pdf install-pdf-am install-ps install-ps-am \
@@ -510,11 +476,49 @@ uninstall-am: uninstall-libdevelopment_tools_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        uninstall uninstall-am \
        uninstall-libdevelopment_tools_la_etcDATA \
-       uninstall-libdevelopment_tools_la_helpenDATA \
-       uninstall-libdevelopment_tools_la_helpfrDATA \
        uninstall-libdevelopment_tools_la_macroDATA \
        uninstall-libdevelopment_tools_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index c625611..b614116 100644 (file)
@@ -143,7 +143,7 @@ libdifferential_equations_la_sci_gateway_DATA = sci_gateway/differential_equatio
 
 #### differential_equations : documentation FR #### 
 libdifferential_equations_la_helpfrdir = $(target)/help/fr
-libdifferential_equations_la_helpfr_DATA = help/fr/ode_root.htm \
+libdifferential_equations_la_helpfr_DATA2 = help/fr/ode_root.htm \
 help/fr/impl.htm \
 help/fr/int2d.htm \
 help/fr/int3d.htm \
@@ -161,7 +161,7 @@ help/fr/ode_optional_output.htm
 
 #### differential_equations : documentation EN #### 
 libdifferential_equations_la_helpendir = $(target)/help/eng
-libdifferential_equations_la_helpen_DATA = help/eng/whatis.htm \
+libdifferential_equations_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/ode_root.htm \
 help/eng/dasrt.htm \
 help/eng/dassl.htm \
@@ -176,3 +176,4 @@ help/eng/odeoptions.htm \
 help/eng/ode_optional_output.htm \
 help/eng/ode.htm
 
+include $(top_srcdir)/Makefile.incl.am
index 08a9412..749d920 100644 (file)
@@ -33,8 +33,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/differential_equations
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -56,8 +57,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libdifferential_equations_la_etcdir)" \
-       "$(DESTDIR)$(libdifferential_equations_la_helpendir)" \
-       "$(DESTDIR)$(libdifferential_equations_la_helpfrdir)" \
        "$(DESTDIR)$(libdifferential_equations_la_macrodir)" \
        "$(DESTDIR)$(libdifferential_equations_la_rootdir)" \
        "$(DESTDIR)$(libdifferential_equations_la_sci_gatewaydir)"
@@ -121,14 +120,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libdifferential_equations_la_SOURCES)
 DIST_SOURCES = $(libdifferential_equations_la_SOURCES)
 libdifferential_equations_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libdifferential_equations_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libdifferential_equations_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libdifferential_equations_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libdifferential_equations_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libdifferential_equations_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libdifferential_equations_la_etc_DATA) \
-       $(libdifferential_equations_la_helpen_DATA) \
-       $(libdifferential_equations_la_helpfr_DATA) \
        $(libdifferential_equations_la_macro_DATA) \
        $(libdifferential_equations_la_root_DATA) \
        $(libdifferential_equations_la_sci_gateway_DATA)
@@ -413,7 +408,7 @@ libdifferential_equations_la_sci_gateway_DATA = sci_gateway/differential_equatio
 
 #### differential_equations : documentation FR #### 
 libdifferential_equations_la_helpfrdir = $(target)/help/fr
-libdifferential_equations_la_helpfr_DATA = help/fr/ode_root.htm \
+libdifferential_equations_la_helpfr_DATA2 = help/fr/ode_root.htm \
 help/fr/impl.htm \
 help/fr/int2d.htm \
 help/fr/int3d.htm \
@@ -431,7 +426,7 @@ help/fr/ode_optional_output.htm
 
 #### differential_equations : documentation EN #### 
 libdifferential_equations_la_helpendir = $(target)/help/eng
-libdifferential_equations_la_helpen_DATA = help/eng/whatis.htm \
+libdifferential_equations_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/ode_root.htm \
 help/eng/dasrt.htm \
 help/eng/dassl.htm \
@@ -446,11 +441,19 @@ help/eng/odeoptions.htm \
 help/eng/ode_optional_output.htm \
 help/eng/ode.htm
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -936,40 +939,6 @@ uninstall-libdifferential_equations_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libdifferential_equations_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libdifferential_equations_la_etcdir)/$$f"; \
        done
-install-libdifferential_equations_la_helpenDATA: $(libdifferential_equations_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdifferential_equations_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libdifferential_equations_la_helpendir)"
-       @list='$(libdifferential_equations_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdifferential_equations_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdifferential_equations_la_helpendir)/$$f'"; \
-         $(libdifferential_equations_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdifferential_equations_la_helpendir)/$$f"; \
-       done
-
-uninstall-libdifferential_equations_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdifferential_equations_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdifferential_equations_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdifferential_equations_la_helpendir)/$$f"; \
-       done
-install-libdifferential_equations_la_helpfrDATA: $(libdifferential_equations_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdifferential_equations_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libdifferential_equations_la_helpfrdir)"
-       @list='$(libdifferential_equations_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdifferential_equations_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdifferential_equations_la_helpfrdir)/$$f'"; \
-         $(libdifferential_equations_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdifferential_equations_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libdifferential_equations_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdifferential_equations_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdifferential_equations_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdifferential_equations_la_helpfrdir)/$$f"; \
-       done
 install-libdifferential_equations_la_macroDATA: $(libdifferential_equations_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libdifferential_equations_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libdifferential_equations_la_macrodir)"
@@ -1100,7 +1069,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdifferential_equations_la_etcdir)" "$(DESTDIR)$(libdifferential_equations_la_helpendir)" "$(DESTDIR)$(libdifferential_equations_la_helpfrdir)" "$(DESTDIR)$(libdifferential_equations_la_macrodir)" "$(DESTDIR)$(libdifferential_equations_la_rootdir)" "$(DESTDIR)$(libdifferential_equations_la_sci_gatewaydir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdifferential_equations_la_etcdir)" "$(DESTDIR)$(libdifferential_equations_la_macrodir)" "$(DESTDIR)$(libdifferential_equations_la_rootdir)" "$(DESTDIR)$(libdifferential_equations_la_sci_gatewaydir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -1149,8 +1118,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libdifferential_equations_la_etcDATA \
-       install-libdifferential_equations_la_helpenDATA \
-       install-libdifferential_equations_la_helpfrDATA \
        install-libdifferential_equations_la_macroDATA \
        install-libdifferential_equations_la_rootDATA \
        install-libdifferential_equations_la_sci_gatewayDATA
@@ -1161,6 +1128,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1191,8 +1160,6 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libdifferential_equations_la_etcDATA \
-       uninstall-libdifferential_equations_la_helpenDATA \
-       uninstall-libdifferential_equations_la_helpfrDATA \
        uninstall-libdifferential_equations_la_macroDATA \
        uninstall-libdifferential_equations_la_rootDATA \
        uninstall-libdifferential_equations_la_sci_gatewayDATA
@@ -1205,11 +1172,9 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
        install-libdifferential_equations_la_etcDATA \
-       install-libdifferential_equations_la_helpenDATA \
-       install-libdifferential_equations_la_helpfrDATA \
        install-libdifferential_equations_la_macroDATA \
        install-libdifferential_equations_la_rootDATA \
        install-libdifferential_equations_la_sci_gatewayDATA \
@@ -1220,12 +1185,50 @@ uninstall-am: uninstall-libLTLIBRARIES \
        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
        uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libdifferential_equations_la_etcDATA \
-       uninstall-libdifferential_equations_la_helpenDATA \
-       uninstall-libdifferential_equations_la_helpfrDATA \
        uninstall-libdifferential_equations_la_macroDATA \
        uninstall-libdifferential_equations_la_rootDATA \
        uninstall-libdifferential_equations_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 92be111..5f36156 100644 (file)
@@ -57,10 +57,11 @@ libdouble_la_etc_DATA = etc/double.quit etc/double.start
 
 #### double : documentation FR #### 
 libdouble_la_helpfrdir = $(target)/help/fr
-libdouble_la_helpfr_DATA = 
+libdouble_la_helpfr_DATA2 = 
 
 
 #### double : documentation EN #### 
 libdouble_la_helpendir = $(target)/help/eng
-libdouble_la_helpen_DATA = 
+libdouble_la_helpen_DATA2 = 
 
+include $(top_srcdir)/Makefile.incl.am
index fca0acc..7d8d992 100644 (file)
@@ -33,8 +33,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/double
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -56,8 +57,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libdouble_la_etcdir)" \
-       "$(DESTDIR)$(libdouble_la_helpendir)" \
-       "$(DESTDIR)$(libdouble_la_helpfrdir)" \
        "$(DESTDIR)$(libdouble_la_macrodir)" \
        "$(DESTDIR)$(libdouble_la_rootdir)"
 libLTLIBRARIES_INSTALL = $(INSTALL)
@@ -96,12 +95,9 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libdouble_la_SOURCES)
 DIST_SOURCES = $(libdouble_la_SOURCES)
 libdouble_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libdouble_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libdouble_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libdouble_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libdouble_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libdouble_la_etc_DATA) $(libdouble_la_helpen_DATA) \
-       $(libdouble_la_helpfr_DATA) $(libdouble_la_macro_DATA) \
+DATA = $(libdouble_la_etc_DATA) $(libdouble_la_macro_DATA) \
        $(libdouble_la_root_DATA)
 ETAGS = etags
 CTAGS = ctags
@@ -297,16 +293,24 @@ libdouble_la_etc_DATA = etc/double.quit etc/double.start
 
 #### double : documentation FR #### 
 libdouble_la_helpfrdir = $(target)/help/fr
-libdouble_la_helpfr_DATA = 
+libdouble_la_helpfr_DATA2 = 
 
 #### double : documentation EN #### 
 libdouble_la_helpendir = $(target)/help/eng
-libdouble_la_helpen_DATA = 
+libdouble_la_helpen_DATA2 = 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -495,40 +499,6 @@ uninstall-libdouble_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libdouble_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libdouble_la_etcdir)/$$f"; \
        done
-install-libdouble_la_helpenDATA: $(libdouble_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdouble_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libdouble_la_helpendir)"
-       @list='$(libdouble_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdouble_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdouble_la_helpendir)/$$f'"; \
-         $(libdouble_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdouble_la_helpendir)/$$f"; \
-       done
-
-uninstall-libdouble_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdouble_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdouble_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdouble_la_helpendir)/$$f"; \
-       done
-install-libdouble_la_helpfrDATA: $(libdouble_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdouble_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libdouble_la_helpfrdir)"
-       @list='$(libdouble_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libdouble_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libdouble_la_helpfrdir)/$$f'"; \
-         $(libdouble_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libdouble_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libdouble_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libdouble_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libdouble_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libdouble_la_helpfrdir)/$$f"; \
-       done
 install-libdouble_la_macroDATA: $(libdouble_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libdouble_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libdouble_la_macrodir)"
@@ -642,7 +612,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdouble_la_etcdir)" "$(DESTDIR)$(libdouble_la_helpendir)" "$(DESTDIR)$(libdouble_la_helpfrdir)" "$(DESTDIR)$(libdouble_la_macrodir)" "$(DESTDIR)$(libdouble_la_rootdir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdouble_la_etcdir)" "$(DESTDIR)$(libdouble_la_macrodir)" "$(DESTDIR)$(libdouble_la_rootdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -691,9 +661,7 @@ info: info-am
 info-am:
 
 install-data-am: install-libdouble_la_etcDATA \
-       install-libdouble_la_helpenDATA \
-       install-libdouble_la_helpfrDATA install-libdouble_la_macroDATA \
-       install-libdouble_la_rootDATA
+       install-libdouble_la_macroDATA install-libdouble_la_rootDATA
 
 install-dvi: install-dvi-am
 
@@ -701,6 +669,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -730,8 +700,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libdouble_la_etcDATA \
-       uninstall-libdouble_la_helpenDATA \
-       uninstall-libdouble_la_helpfrDATA \
        uninstall-libdouble_la_macroDATA \
        uninstall-libdouble_la_rootDATA
 
@@ -743,10 +711,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libdouble_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libdouble_la_etcDATA \
-       install-libdouble_la_helpenDATA \
-       install-libdouble_la_helpfrDATA install-libdouble_la_macroDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libdouble_la_etcDATA install-libdouble_la_macroDATA \
        install-libdouble_la_rootDATA install-man install-pdf \
        install-pdf-am install-ps install-ps-am install-strip \
        installcheck installcheck-am installdirs maintainer-clean \
@@ -754,11 +721,49 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libdouble_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libdouble_la_etcDATA \
-       uninstall-libdouble_la_helpenDATA \
-       uninstall-libdouble_la_helpfrDATA \
        uninstall-libdouble_la_macroDATA \
        uninstall-libdouble_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index cf8dc20..46321ab 100644 (file)
@@ -584,165 +584,116 @@ libelementaries_functions_la_sci_gateway_DATA = sci_gateway/elementaries_functio
 
 #### elementaries_functions : documentation FR #### 
 libelementaries_functions_la_helpfrdir = $(target)/help/fr
-libelementaries_functions_la_helpfr_DATA = help/fr/binomial.htm \
-help/fr/atan.htm \
-help/fr/bin2dec.htm \
-help/fr/bloc2exp.htm \
-help/fr/bitand.htm \
-help/fr/bitor.htm \
-help/fr/cell2mat.htm \
-help/fr/bloc2ss.htm \
-help/fr/cat.htm \
-help/fr/interp2d.htm \
-help/fr/cellstr.htm \
-help/fr/char.htm \
-help/fr/dec2bin.htm \
-help/fr/diff.htm \
-help/fr/dsearch.htm \
-help/fr/factor.htm \
-help/fr/flipdim.htm \
-help/fr/imult.htm \
-help/fr/ind2sub.htm \
-help/fr/intc.htm \
-help/fr/interp1.htm \
-help/fr/nextpow2.htm \
-help/fr/intl.htm \
-help/fr/isempty.htm \
-help/fr/isequal.htm \
-help/fr/log1p.htm \
-help/fr/ndgrid.htm \
-help/fr/ndims.htm \
+libelementaries_functions_la_helpfr_DATA2 = help/fr/whatis.htm \
+help/fr/log.htm \
+help/fr/inttrap.htm \
+help/fr/log10.htm \
+help/fr/integrate.htm \
+help/fr/eye.htm \
+help/fr/min.htm \
+help/fr/squarewave.htm \
+help/fr/frexp.htm \
+help/fr/max.htm \
 help/fr/acos.htm \
-help/fr/sum.htm \
-help/fr/number_properties.htm \
-help/fr/permute.htm \
-help/fr/pertrans.htm \
-help/fr/primes.htm \
-help/fr/setdiff.htm \
-help/fr/sinc.htm \
-help/fr/sp2adj.htm \
-help/fr/splin2d.htm \
-help/fr/ssprint.htm \
-help/fr/ssrand.htm \
-help/fr/sub2ind.htm \
-help/fr/abs.htm \
-help/fr/sysconv.htm \
-help/fr/sysdiag.htm \
-help/fr/trfmod.htm \
-help/fr/typeof.htm \
-help/fr/interpln.htm \
-help/fr/acoshm.htm \
-help/fr/whatis.htm \
-help/fr/atanh.htm \
-help/fr/adj2sp.htm \
-help/fr/vectorfind.htm \
-help/fr/nearfloat.htm \
-help/fr/acosh.htm \
-help/fr/acosm.htm \
+help/fr/perms.htm \
+help/fr/eval.htm \
+help/fr/sprand.htm \
+help/fr/sin.htm \
 help/fr/amell.htm \
-help/fr/and.htm \
-help/fr/asinhm.htm \
+help/fr/tanh.htm \
+help/fr/minus.htm \
+help/fr/tanm.htm \
+help/fr/not.htm \
 help/fr/asinh.htm \
+help/fr/and.htm \
+help/fr/abs.htm \
 help/fr/asinm.htm \
-help/fr/asin.htm \
-help/fr/atanhm.htm \
-help/fr/atanm.htm \
-help/fr/ceil.htm \
-help/fr/cmb_lin.htm \
-help/fr/conj.htm \
-help/fr/coshm.htm \
-help/fr/cosh.htm \
-help/fr/cosm.htm \
-help/fr/cos.htm \
-help/fr/cotg.htm \
-help/fr/cothm.htm \
-help/fr/coth.htm \
+help/fr/erfcx.htm \
+help/fr/spones.htm \
+help/fr/isinf.htm \
+help/fr/kron.htm \
 help/fr/cumprod.htm \
 help/fr/cumsum.htm \
-help/fr/delip.htm \
-help/fr/diag.htm \
-help/fr/double.htm \
-help/fr/erfc.htm \
-help/fr/erfcx.htm \
+help/fr/cothm.htm \
 help/fr/erf.htm \
-help/fr/eval.htm \
-help/fr/eye.htm \
-help/fr/fix.htm \
+help/fr/isreal.htm \
+help/fr/erfc.htm \
+help/fr/or.htm \
 help/fr/floor.htm \
-help/fr/frexp.htm \
+help/fr/syslin.htm \
+help/fr/real.htm \
+help/fr/round.htm \
+help/fr/conj.htm \
+help/fr/isdef.htm \
+help/fr/int.htm \
+help/fr/acosh.htm \
+help/fr/maxi.htm \
+help/fr/logm.htm \
 help/fr/gsort.htm \
+help/fr/lex_sort.htm \
+help/fr/sinh.htm \
+help/fr/acosm.htm \
+help/fr/sinm.htm \
+help/fr/isnan.htm \
+help/fr/smooth.htm \
+help/fr/double.htm \
+help/fr/size.htm \
+help/fr/tril.htm \
+help/fr/trianfml.htm \
 help/fr/imag.htm \
 help/fr/int8.htm \
-help/fr/integrate.htm \
-help/fr/intersect.htm \
-help/fr/inttrap.htm \
-help/fr/int.htm \
-help/fr/isdef.htm \
-help/fr/isinf.htm \
-help/fr/isnan.htm \
-help/fr/isreal.htm \
-help/fr/kron.htm \
-help/fr/lex_sort.htm \
+help/fr/tan.htm \
+help/fr/triu.htm \
+help/fr/cos.htm \
+help/fr/rand.htm \
+help/fr/fix.htm \
+help/fr/rat.htm \
+help/fr/sort.htm \
+help/fr/sqrt.htm \
+help/fr/asin.htm \
+help/fr/cosh.htm \
 help/fr/linspace.htm \
-help/fr/log10.htm \
-help/fr/log2.htm \
-help/fr/logm.htm \
-help/fr/logspace.htm \
-help/fr/log.htm \
-help/fr/maxi.htm \
-help/fr/lstsize.htm \
-help/fr/max.htm \
-help/fr/meshgrid.htm \
-help/fr/mini.htm \
-help/fr/minus.htm \
-help/fr/min.htm \
 help/fr/modulo.htm \
-help/fr/norm.htm \
-help/fr/not.htm \
+help/fr/intersect.htm \
+help/fr/sign.htm \
+help/fr/cosm.htm \
+help/fr/zeros.htm \
+help/fr/cmb_lin.htm \
+help/fr/diag.htm \
 help/fr/ones.htm \
-help/fr/or.htm \
-help/fr/pen2ea.htm \
-help/fr/perms.htm \
-help/fr/prod.htm \
-help/fr/rand.htm \
-help/fr/rat.htm \
-help/fr/real.htm \
-help/fr/round.htm \
+help/fr/unique.htm \
+help/fr/tanhm.htm \
+help/fr/trisolve.htm \
+help/fr/atanhm.htm \
+help/fr/coshm.htm \
+help/fr/acoshm.htm \
+help/fr/norm.htm \
 help/fr/signm.htm \
-help/fr/sign.htm \
 help/fr/sinhm.htm \
-help/fr/sinh.htm \
-help/fr/sinm.htm \
-help/fr/sin.htm \
-help/fr/size.htm \
-help/fr/smooth.htm \
-help/fr/solve.htm \
-help/fr/sort.htm \
+help/fr/asinhm.htm \
 help/fr/speye.htm \
-help/fr/spones.htm \
-help/fr/sprand.htm \
+help/fr/solve.htm \
+help/fr/union.htm \
+help/fr/interpln.htm \
+help/fr/mini.htm \
+help/fr/cotg.htm \
+help/fr/lstsize.htm \
+help/fr/logspace.htm \
+help/fr/coth.htm \
+help/fr/delip.htm \
+help/fr/atanm.htm \
+help/fr/meshgrid.htm \
+help/fr/log2.htm \
+help/fr/prod.htm \
 help/fr/spzeros.htm \
 help/fr/sqrtm.htm \
-help/fr/sqrt.htm \
-help/fr/squarewave.htm \
-help/fr/syslin.htm \
-help/fr/tanhm.htm \
-help/fr/tanh.htm \
-help/fr/tanm.htm \
-help/fr/tan.htm \
+help/fr/pen2ea.htm \
 help/fr/toeplitz.htm \
-help/fr/trianfml.htm \
-help/fr/tril.htm \
-help/fr/trisolve.htm \
-help/fr/triu.htm \
-help/fr/union.htm \
-help/fr/unique.htm \
-help/fr/zeros.htm
-
+help/fr/ceil.htm
 
 #### elementaries_functions : documentation EN #### 
 libelementaries_functions_la_helpendir = $(target)/help/eng
-libelementaries_functions_la_helpen_DATA = help/eng/whatis.htm \
+libelementaries_functions_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/acos.htm \
 help/eng/abs.htm \
 help/eng/binomial.htm \
@@ -904,3 +855,5 @@ libelementaries_functions_la_include_HEADERS = includes/sci_tools.h \
 includes/gw_elementaries_functions.h \
 includes/elementaries_functions.h
 
+include $(top_srcdir)/Makefile.incl.am
+
index bc6bcf2..e182d9a 100644 (file)
@@ -39,9 +39,10 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/elementaries_functions
 DIST_COMMON = $(libelementaries_functions_la_include_HEADERS) \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
+subdir = modules/elementaries_functions
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +64,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libelementaries_functions_la_etcdir)" \
-       "$(DESTDIR)$(libelementaries_functions_la_helpendir)" \
-       "$(DESTDIR)$(libelementaries_functions_la_helpfrdir)" \
        "$(DESTDIR)$(libelementaries_functions_la_macrodir)" \
        "$(DESTDIR)$(libelementaries_functions_la_rootdir)" \
        "$(DESTDIR)$(libelementaries_functions_la_sci_gatewaydir)" \
@@ -451,14 +450,10 @@ SOURCES = $(libdummy_elementaries_functions_la_SOURCES) \
 DIST_SOURCES = $(libdummy_elementaries_functions_la_SOURCES) \
        $(libelementaries_functions_la_SOURCES)
 libelementaries_functions_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libelementaries_functions_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libelementaries_functions_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libelementaries_functions_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libelementaries_functions_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libelementaries_functions_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libelementaries_functions_la_etc_DATA) \
-       $(libelementaries_functions_la_helpen_DATA) \
-       $(libelementaries_functions_la_helpfr_DATA) \
        $(libelementaries_functions_la_macro_DATA) \
        $(libelementaries_functions_la_root_DATA) \
        $(libelementaries_functions_la_sci_gateway_DATA)
@@ -1160,165 +1155,117 @@ libelementaries_functions_la_sci_gateway_DATA = sci_gateway/elementaries_functio
 
 #### elementaries_functions : documentation FR #### 
 libelementaries_functions_la_helpfrdir = $(target)/help/fr
-libelementaries_functions_la_helpfr_DATA = help/fr/binomial.htm \
-help/fr/atan.htm \
-help/fr/bin2dec.htm \
-help/fr/bloc2exp.htm \
-help/fr/bitand.htm \
-help/fr/bitor.htm \
-help/fr/cell2mat.htm \
-help/fr/bloc2ss.htm \
-help/fr/cat.htm \
-help/fr/interp2d.htm \
-help/fr/cellstr.htm \
-help/fr/char.htm \
-help/fr/dec2bin.htm \
-help/fr/diff.htm \
-help/fr/dsearch.htm \
-help/fr/factor.htm \
-help/fr/flipdim.htm \
-help/fr/imult.htm \
-help/fr/ind2sub.htm \
-help/fr/intc.htm \
-help/fr/interp1.htm \
-help/fr/nextpow2.htm \
-help/fr/intl.htm \
-help/fr/isempty.htm \
-help/fr/isequal.htm \
-help/fr/log1p.htm \
-help/fr/ndgrid.htm \
-help/fr/ndims.htm \
+libelementaries_functions_la_helpfr_DATA2 = help/fr/whatis.htm \
+help/fr/log.htm \
+help/fr/inttrap.htm \
+help/fr/log10.htm \
+help/fr/integrate.htm \
+help/fr/eye.htm \
+help/fr/min.htm \
+help/fr/squarewave.htm \
+help/fr/frexp.htm \
+help/fr/max.htm \
 help/fr/acos.htm \
-help/fr/sum.htm \
-help/fr/number_properties.htm \
-help/fr/permute.htm \
-help/fr/pertrans.htm \
-help/fr/primes.htm \
-help/fr/setdiff.htm \
-help/fr/sinc.htm \
-help/fr/sp2adj.htm \
-help/fr/splin2d.htm \
-help/fr/ssprint.htm \
-help/fr/ssrand.htm \
-help/fr/sub2ind.htm \
-help/fr/abs.htm \
-help/fr/sysconv.htm \
-help/fr/sysdiag.htm \
-help/fr/trfmod.htm \
-help/fr/typeof.htm \
-help/fr/interpln.htm \
-help/fr/acoshm.htm \
-help/fr/whatis.htm \
-help/fr/atanh.htm \
-help/fr/adj2sp.htm \
-help/fr/vectorfind.htm \
-help/fr/nearfloat.htm \
-help/fr/acosh.htm \
-help/fr/acosm.htm \
+help/fr/perms.htm \
+help/fr/eval.htm \
+help/fr/sprand.htm \
+help/fr/sin.htm \
 help/fr/amell.htm \
-help/fr/and.htm \
-help/fr/asinhm.htm \
+help/fr/tanh.htm \
+help/fr/minus.htm \
+help/fr/tanm.htm \
+help/fr/not.htm \
 help/fr/asinh.htm \
+help/fr/and.htm \
+help/fr/abs.htm \
 help/fr/asinm.htm \
-help/fr/asin.htm \
-help/fr/atanhm.htm \
-help/fr/atanm.htm \
-help/fr/ceil.htm \
-help/fr/cmb_lin.htm \
-help/fr/conj.htm \
-help/fr/coshm.htm \
-help/fr/cosh.htm \
-help/fr/cosm.htm \
-help/fr/cos.htm \
-help/fr/cotg.htm \
-help/fr/cothm.htm \
-help/fr/coth.htm \
+help/fr/erfcx.htm \
+help/fr/spones.htm \
+help/fr/isinf.htm \
+help/fr/kron.htm \
 help/fr/cumprod.htm \
 help/fr/cumsum.htm \
-help/fr/delip.htm \
-help/fr/diag.htm \
-help/fr/double.htm \
-help/fr/erfc.htm \
-help/fr/erfcx.htm \
+help/fr/cothm.htm \
 help/fr/erf.htm \
-help/fr/eval.htm \
-help/fr/eye.htm \
-help/fr/fix.htm \
+help/fr/isreal.htm \
+help/fr/erfc.htm \
+help/fr/or.htm \
 help/fr/floor.htm \
-help/fr/frexp.htm \
+help/fr/syslin.htm \
+help/fr/real.htm \
+help/fr/round.htm \
+help/fr/conj.htm \
+help/fr/isdef.htm \
+help/fr/int.htm \
+help/fr/acosh.htm \
+help/fr/maxi.htm \
+help/fr/logm.htm \
 help/fr/gsort.htm \
+help/fr/lex_sort.htm \
+help/fr/sinh.htm \
+help/fr/acosm.htm \
+help/fr/sinm.htm \
+help/fr/isnan.htm \
+help/fr/smooth.htm \
+help/fr/double.htm \
+help/fr/size.htm \
+help/fr/tril.htm \
+help/fr/trianfml.htm \
 help/fr/imag.htm \
 help/fr/int8.htm \
-help/fr/integrate.htm \
-help/fr/intersect.htm \
-help/fr/inttrap.htm \
-help/fr/int.htm \
-help/fr/isdef.htm \
-help/fr/isinf.htm \
-help/fr/isnan.htm \
-help/fr/isreal.htm \
-help/fr/kron.htm \
-help/fr/lex_sort.htm \
+help/fr/tan.htm \
+help/fr/triu.htm \
+help/fr/cos.htm \
+help/fr/rand.htm \
+help/fr/fix.htm \
+help/fr/rat.htm \
+help/fr/sort.htm \
+help/fr/sqrt.htm \
+help/fr/asin.htm \
+help/fr/cosh.htm \
 help/fr/linspace.htm \
-help/fr/log10.htm \
-help/fr/log2.htm \
-help/fr/logm.htm \
-help/fr/logspace.htm \
-help/fr/log.htm \
-help/fr/maxi.htm \
-help/fr/lstsize.htm \
-help/fr/max.htm \
-help/fr/meshgrid.htm \
-help/fr/mini.htm \
-help/fr/minus.htm \
-help/fr/min.htm \
 help/fr/modulo.htm \
-help/fr/norm.htm \
-help/fr/not.htm \
+help/fr/intersect.htm \
+help/fr/sign.htm \
+help/fr/cosm.htm \
+help/fr/zeros.htm \
+help/fr/cmb_lin.htm \
+help/fr/diag.htm \
 help/fr/ones.htm \
-help/fr/or.htm \
-help/fr/pen2ea.htm \
-help/fr/perms.htm \
-help/fr/prod.htm \
-help/fr/rand.htm \
-help/fr/rat.htm \
-help/fr/real.htm \
-help/fr/round.htm \
+help/fr/unique.htm \
+help/fr/tanhm.htm \
+help/fr/trisolve.htm \
+help/fr/atanhm.htm \
+help/fr/coshm.htm \
+help/fr/acoshm.htm \
+help/fr/norm.htm \
 help/fr/signm.htm \
-help/fr/sign.htm \
 help/fr/sinhm.htm \
-help/fr/sinh.htm \
-help/fr/sinm.htm \
-help/fr/sin.htm \
-help/fr/size.htm \
-help/fr/smooth.htm \
-help/fr/solve.htm \
-help/fr/sort.htm \
+help/fr/asinhm.htm \
 help/fr/speye.htm \
-help/fr/spones.htm \
-help/fr/sprand.htm \
+help/fr/solve.htm \
+help/fr/union.htm \
+help/fr/interpln.htm \
+help/fr/mini.htm \
+help/fr/cotg.htm \
+help/fr/lstsize.htm \
+help/fr/logspace.htm \
+help/fr/coth.htm \
+help/fr/delip.htm \
+help/fr/atanm.htm \
+help/fr/meshgrid.htm \
+help/fr/log2.htm \
+help/fr/prod.htm \
 help/fr/spzeros.htm \
 help/fr/sqrtm.htm \
-help/fr/sqrt.htm \
-help/fr/squarewave.htm \
-help/fr/syslin.htm \
-help/fr/tanhm.htm \
-help/fr/tanh.htm \
-help/fr/tanm.htm \
-help/fr/tan.htm \
+help/fr/pen2ea.htm \
 help/fr/toeplitz.htm \
-help/fr/trianfml.htm \
-help/fr/tril.htm \
-help/fr/trisolve.htm \
-help/fr/triu.htm \
-help/fr/union.htm \
-help/fr/unique.htm \
-help/fr/zeros.htm
+help/fr/ceil.htm
 
 
 #### elementaries_functions : documentation EN #### 
 libelementaries_functions_la_helpendir = $(target)/help/eng
-libelementaries_functions_la_helpen_DATA = help/eng/whatis.htm \
+libelementaries_functions_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/acos.htm \
 help/eng/abs.htm \
 help/eng/binomial.htm \
@@ -1480,11 +1427,19 @@ libelementaries_functions_la_include_HEADERS = includes/sci_tools.h \
 includes/gw_elementaries_functions.h \
 includes/elementaries_functions.h
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -2880,40 +2835,6 @@ uninstall-libelementaries_functions_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libelementaries_functions_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libelementaries_functions_la_etcdir)/$$f"; \
        done
-install-libelementaries_functions_la_helpenDATA: $(libelementaries_functions_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libelementaries_functions_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libelementaries_functions_la_helpendir)"
-       @list='$(libelementaries_functions_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libelementaries_functions_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libelementaries_functions_la_helpendir)/$$f'"; \
-         $(libelementaries_functions_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libelementaries_functions_la_helpendir)/$$f"; \
-       done
-
-uninstall-libelementaries_functions_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libelementaries_functions_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libelementaries_functions_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libelementaries_functions_la_helpendir)/$$f"; \
-       done
-install-libelementaries_functions_la_helpfrDATA: $(libelementaries_functions_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libelementaries_functions_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libelementaries_functions_la_helpfrdir)"
-       @list='$(libelementaries_functions_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libelementaries_functions_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libelementaries_functions_la_helpfrdir)/$$f'"; \
-         $(libelementaries_functions_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libelementaries_functions_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libelementaries_functions_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libelementaries_functions_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libelementaries_functions_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libelementaries_functions_la_helpfrdir)/$$f"; \
-       done
 install-libelementaries_functions_la_macroDATA: $(libelementaries_functions_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libelementaries_functions_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libelementaries_functions_la_macrodir)"
@@ -3061,7 +2982,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libelementaries_functions_la_etcdir)" "$(DESTDIR)$(libelementaries_functions_la_helpendir)" "$(DESTDIR)$(libelementaries_functions_la_helpfrdir)" "$(DESTDIR)$(libelementaries_functions_la_macrodir)" "$(DESTDIR)$(libelementaries_functions_la_rootdir)" "$(DESTDIR)$(libelementaries_functions_la_sci_gatewaydir)" "$(DESTDIR)$(libelementaries_functions_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libelementaries_functions_la_etcdir)" "$(DESTDIR)$(libelementaries_functions_la_macrodir)" "$(DESTDIR)$(libelementaries_functions_la_rootdir)" "$(DESTDIR)$(libelementaries_functions_la_sci_gatewaydir)" "$(DESTDIR)$(libelementaries_functions_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -3110,8 +3031,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libelementaries_functions_la_etcDATA \
-       install-libelementaries_functions_la_helpenDATA \
-       install-libelementaries_functions_la_helpfrDATA \
        install-libelementaries_functions_la_includeHEADERS \
        install-libelementaries_functions_la_macroDATA \
        install-libelementaries_functions_la_rootDATA \
@@ -3123,6 +3042,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -3153,8 +3074,6 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libelementaries_functions_la_etcDATA \
-       uninstall-libelementaries_functions_la_helpenDATA \
-       uninstall-libelementaries_functions_la_helpfrDATA \
        uninstall-libelementaries_functions_la_includeHEADERS \
        uninstall-libelementaries_functions_la_macroDATA \
        uninstall-libelementaries_functions_la_rootDATA \
@@ -3168,11 +3087,10 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-libLTLIBRARIES \
+       install-exec-am install-html install-html-am \
+       install-html-local install-info install-info-am \
+       install-libLTLIBRARIES \
        install-libelementaries_functions_la_etcDATA \
-       install-libelementaries_functions_la_helpenDATA \
-       install-libelementaries_functions_la_helpfrDATA \
        install-libelementaries_functions_la_includeHEADERS \
        install-libelementaries_functions_la_macroDATA \
        install-libelementaries_functions_la_rootDATA \
@@ -3184,8 +3102,6 @@ uninstall-am: uninstall-libLTLIBRARIES \
        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
        uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libelementaries_functions_la_etcDATA \
-       uninstall-libelementaries_functions_la_helpenDATA \
-       uninstall-libelementaries_functions_la_helpfrDATA \
        uninstall-libelementaries_functions_la_includeHEADERS \
        uninstall-libelementaries_functions_la_macroDATA \
        uninstall-libelementaries_functions_la_rootDATA \
@@ -3206,6 +3122,46 @@ libdummy_elementaries_functions_la-unsfdcopy.lo: src/fortran/unsfdcopy.f
 
 libdummy_elementaries_functions_la-icopy.lo: src/fortran/icopy.f
        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementaries_functions_la_FFLAGS) -c -o libdummy_elementaries_functions_la-icopy.lo `test -f 'src/fortran/icopy.f' || echo '$(srcdir)/'`src/fortran/icopy.f
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 4281dd7..cf856b6 100644 (file)
@@ -25,12 +25,12 @@ libfftw_la_sci_gateway_DATA = sci_gateway/fftw
 
 #### fftw : documentation FR #### 
 libfftw_la_helpfrdir = $(target)/help/fr
-libfftw_la_helpfr_DATA = 
+libfftw_la_helpfr_DATA2 = 
 
 
 #### fftw : documentation EN #### 
 libfftw_la_helpendir = $(target)/help/eng
-libfftw_la_helpen_DATA = 
+libfftw_la_helpen_DATA2 = 
 
 
 #### fftw : include files ####
@@ -46,3 +46,4 @@ includes/sci_freefftw_plan.h \
 includes/gw_fftw.h \
 includes/sci_fftw.h
 
+include $(top_srcdir)/Makefile.incl.am
index 1158737..4b0d108 100644 (file)
@@ -119,10 +119,9 @@ libfileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
 libfileio_la_sci_gatewaydir = $(target)/sci_gateway
 libfileio_la_sci_gateway_DATA = sci_gateway/fileio
 
-
 #### fileio : documentation FR #### 
 libfileio_la_helpfrdir = $(target)/help/fr
-libfileio_la_helpfr_DATA = help/fr/meof.htm \
+libfileio_la_helpfr_DATA2 = help/fr/meof.htm \
 help/fr/dir.htm \
 help/fr/ls.htm \
 help/fr/excel2sci.htm \
@@ -167,7 +166,7 @@ help/fr/listvarinfile.htm
 
 #### fileio : documentation EN #### 
 libfileio_la_helpendir = $(target)/help/eng
-libfileio_la_helpen_DATA = help/eng/whatis.htm \
+libfileio_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/basename.htm \
 help/eng/dirname.htm \
 help/eng/dir.htm \
@@ -227,3 +226,4 @@ demos/excel/Testbig.xls \
 demos/excel/t1.xls \
 demos/excel/README
 
+include $(top_srcdir)/Makefile.incl.am
index 33f347c..e8aa04f 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/fileio
 DIST_COMMON = $(libfileio_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/fileio
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +63,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libfileio_la_etcdir)" \
-       "$(DESTDIR)$(libfileio_la_helpendir)" \
-       "$(DESTDIR)$(libfileio_la_helpfrdir)" \
        "$(DESTDIR)$(libfileio_la_macrodir)" \
        "$(DESTDIR)$(libfileio_la_rootdir)" \
        "$(DESTDIR)$(libfileio_la_sci_gatewaydir)" \
@@ -107,14 +105,11 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libfileio_la_SOURCES)
 DIST_SOURCES = $(libfileio_la_SOURCES)
 libfileio_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libfileio_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libfileio_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libfileio_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libfileio_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libfileio_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 nobase_libfileio_la_demosDATA_INSTALL = $(install_sh_DATA)
-DATA = $(libfileio_la_etc_DATA) $(libfileio_la_helpen_DATA) \
-       $(libfileio_la_helpfr_DATA) $(libfileio_la_macro_DATA) \
+DATA = $(libfileio_la_etc_DATA) $(libfileio_la_macro_DATA) \
        $(libfileio_la_root_DATA) $(libfileio_la_sci_gateway_DATA) \
        $(nobase_libfileio_la_demos_DATA)
 libfileio_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
@@ -373,7 +368,7 @@ libfileio_la_sci_gateway_DATA = sci_gateway/fileio
 
 #### fileio : documentation FR #### 
 libfileio_la_helpfrdir = $(target)/help/fr
-libfileio_la_helpfr_DATA = help/fr/meof.htm \
+libfileio_la_helpfr_DATA2 = help/fr/meof.htm \
 help/fr/dir.htm \
 help/fr/ls.htm \
 help/fr/excel2sci.htm \
@@ -418,7 +413,7 @@ help/fr/listvarinfile.htm
 
 #### fileio : documentation EN #### 
 libfileio_la_helpendir = $(target)/help/eng
-libfileio_la_helpen_DATA = help/eng/whatis.htm \
+libfileio_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/basename.htm \
 help/eng/dirname.htm \
 help/eng/dir.htm \
@@ -478,11 +473,19 @@ demos/excel/Testbig.xls \
 demos/excel/t1.xls \
 demos/excel/README
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -815,40 +818,6 @@ uninstall-libfileio_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libfileio_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libfileio_la_etcdir)/$$f"; \
        done
-install-libfileio_la_helpenDATA: $(libfileio_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libfileio_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libfileio_la_helpendir)"
-       @list='$(libfileio_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libfileio_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libfileio_la_helpendir)/$$f'"; \
-         $(libfileio_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libfileio_la_helpendir)/$$f"; \
-       done
-
-uninstall-libfileio_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libfileio_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libfileio_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libfileio_la_helpendir)/$$f"; \
-       done
-install-libfileio_la_helpfrDATA: $(libfileio_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libfileio_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libfileio_la_helpfrdir)"
-       @list='$(libfileio_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libfileio_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libfileio_la_helpfrdir)/$$f'"; \
-         $(libfileio_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libfileio_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libfileio_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libfileio_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libfileio_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libfileio_la_helpfrdir)/$$f"; \
-       done
 install-libfileio_la_macroDATA: $(libfileio_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libfileio_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libfileio_la_macrodir)"
@@ -1015,7 +984,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libfileio_la_etcdir)" "$(DESTDIR)$(libfileio_la_helpendir)" "$(DESTDIR)$(libfileio_la_helpfrdir)" "$(DESTDIR)$(libfileio_la_macrodir)" "$(DESTDIR)$(libfileio_la_rootdir)" "$(DESTDIR)$(libfileio_la_sci_gatewaydir)" "$(DESTDIR)$(libfileio_la_demosdir)" "$(DESTDIR)$(libfileio_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libfileio_la_etcdir)" "$(DESTDIR)$(libfileio_la_macrodir)" "$(DESTDIR)$(libfileio_la_rootdir)" "$(DESTDIR)$(libfileio_la_sci_gatewaydir)" "$(DESTDIR)$(libfileio_la_demosdir)" "$(DESTDIR)$(libfileio_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -1064,8 +1033,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libfileio_la_etcDATA \
-       install-libfileio_la_helpenDATA \
-       install-libfileio_la_helpfrDATA \
        install-libfileio_la_includeHEADERS \
        install-libfileio_la_macroDATA install-libfileio_la_rootDATA \
        install-libfileio_la_sci_gatewayDATA \
@@ -1077,6 +1044,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1106,8 +1075,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libfileio_la_etcDATA \
-       uninstall-libfileio_la_helpenDATA \
-       uninstall-libfileio_la_helpfrDATA \
        uninstall-libfileio_la_includeHEADERS \
        uninstall-libfileio_la_macroDATA \
        uninstall-libfileio_la_rootDATA \
@@ -1122,10 +1089,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libfileio_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libfileio_la_etcDATA \
-       install-libfileio_la_helpenDATA \
-       install-libfileio_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libfileio_la_etcDATA \
        install-libfileio_la_includeHEADERS \
        install-libfileio_la_macroDATA install-libfileio_la_rootDATA \
        install-libfileio_la_sci_gatewayDATA install-man \
@@ -1136,14 +1102,52 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libfileio_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libfileio_la_etcDATA \
-       uninstall-libfileio_la_helpenDATA \
-       uninstall-libfileio_la_helpfrDATA \
        uninstall-libfileio_la_includeHEADERS \
        uninstall-libfileio_la_macroDATA \
        uninstall-libfileio_la_rootDATA \
        uninstall-libfileio_la_sci_gatewayDATA \
        uninstall-nobase_libfileio_la_demosDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 08a2d40..699472a 100644 (file)
@@ -46,7 +46,7 @@ libfunctions_la_etc_DATA = etc/functions.quit etc/functions.start
 
 #### functions : documentation FR #### 
 libfunctions_la_helpfrdir = $(target)/help/fr
-libfunctions_la_helpfr_DATA = help/fr/macrovar.htm \
+libfunctions_la_helpfr_DATA2 = help/fr/macrovar.htm \
 help/fr/library.htm \
 help/fr/varargin.htm \
 help/fr/macro.htm \
@@ -65,7 +65,7 @@ help/fr/get_function_path.htm
 
 #### functions : documentation EN #### 
 libfunctions_la_helpendir = $(target)/help/eng
-libfunctions_la_helpen_DATA = help/eng/whatis.htm \
+libfunctions_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/functions.htm \
 help/eng/function.htm \
 help/eng/genlib.htm \
@@ -81,3 +81,4 @@ help/eng/showprofile.htm \
 help/eng/varargin.htm \
 help/eng/varargout.htm
 
+include $(top_srcdir)/Makefile.incl.am
index 58c6244..7c81cc3 100644 (file)
@@ -37,8 +37,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/functions
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -61,17 +62,12 @@ am__vpath_adj = case $$p in \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libfunctions_la_etcdir)" \
-       "$(DESTDIR)$(libfunctions_la_helpendir)" \
-       "$(DESTDIR)$(libfunctions_la_helpfrdir)" \
        "$(DESTDIR)$(libfunctions_la_macrodir)" \
        "$(DESTDIR)$(libfunctions_la_rootdir)"
 libfunctions_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libfunctions_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libfunctions_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libfunctions_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libfunctions_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libfunctions_la_etc_DATA) $(libfunctions_la_helpen_DATA) \
-       $(libfunctions_la_helpfr_DATA) $(libfunctions_la_macro_DATA) \
+DATA = $(libfunctions_la_etc_DATA) $(libfunctions_la_macro_DATA) \
        $(libfunctions_la_root_DATA)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
@@ -255,7 +251,7 @@ libfunctions_la_etc_DATA = etc/functions.quit etc/functions.start
 
 #### functions : documentation FR #### 
 libfunctions_la_helpfrdir = $(target)/help/fr
-libfunctions_la_helpfr_DATA = help/fr/macrovar.htm \
+libfunctions_la_helpfr_DATA2 = help/fr/macrovar.htm \
 help/fr/library.htm \
 help/fr/varargin.htm \
 help/fr/macro.htm \
@@ -274,7 +270,7 @@ help/fr/get_function_path.htm
 
 #### functions : documentation EN #### 
 libfunctions_la_helpendir = $(target)/help/eng
-libfunctions_la_helpen_DATA = help/eng/whatis.htm \
+libfunctions_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/functions.htm \
 help/eng/function.htm \
 help/eng/genlib.htm \
@@ -290,10 +286,19 @@ help/eng/showprofile.htm \
 help/eng/varargin.htm \
 help/eng/varargout.htm
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -345,40 +350,6 @@ uninstall-libfunctions_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libfunctions_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libfunctions_la_etcdir)/$$f"; \
        done
-install-libfunctions_la_helpenDATA: $(libfunctions_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libfunctions_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libfunctions_la_helpendir)"
-       @list='$(libfunctions_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libfunctions_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libfunctions_la_helpendir)/$$f'"; \
-         $(libfunctions_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libfunctions_la_helpendir)/$$f"; \
-       done
-
-uninstall-libfunctions_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libfunctions_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libfunctions_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libfunctions_la_helpendir)/$$f"; \
-       done
-install-libfunctions_la_helpfrDATA: $(libfunctions_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libfunctions_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libfunctions_la_helpfrdir)"
-       @list='$(libfunctions_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libfunctions_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libfunctions_la_helpfrdir)/$$f'"; \
-         $(libfunctions_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libfunctions_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libfunctions_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libfunctions_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libfunctions_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libfunctions_la_helpfrdir)/$$f"; \
-       done
 install-libfunctions_la_macroDATA: $(libfunctions_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libfunctions_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libfunctions_la_macrodir)"
@@ -450,7 +421,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libfunctions_la_etcdir)" "$(DESTDIR)$(libfunctions_la_helpendir)" "$(DESTDIR)$(libfunctions_la_helpfrdir)" "$(DESTDIR)$(libfunctions_la_macrodir)" "$(DESTDIR)$(libfunctions_la_rootdir)"; do \
+       for dir in "$(DESTDIR)$(libfunctions_la_etcdir)" "$(DESTDIR)$(libfunctions_la_macrodir)" "$(DESTDIR)$(libfunctions_la_rootdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -496,8 +467,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libfunctions_la_etcDATA \
-       install-libfunctions_la_helpenDATA \
-       install-libfunctions_la_helpfrDATA \
        install-libfunctions_la_macroDATA \
        install-libfunctions_la_rootDATA
 
@@ -507,6 +476,8 @@ install-exec-am:
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -534,8 +505,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libfunctions_la_etcDATA \
-       uninstall-libfunctions_la_helpenDATA \
-       uninstall-libfunctions_la_helpfrDATA \
        uninstall-libfunctions_la_macroDATA \
        uninstall-libfunctions_la_rootDATA
 
@@ -546,9 +515,8 @@ uninstall-am: uninstall-libfunctions_la_etcDATA \
        dvi-am html html-am info info-am install install-am \
        install-data install-data-am install-dvi install-dvi-am \
        install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am install-libfunctions_la_etcDATA \
-       install-libfunctions_la_helpenDATA \
-       install-libfunctions_la_helpfrDATA \
+       install-html-local install-info install-info-am \
+       install-libfunctions_la_etcDATA \
        install-libfunctions_la_macroDATA \
        install-libfunctions_la_rootDATA install-man install-pdf \
        install-pdf-am install-ps install-ps-am install-strip \
@@ -556,11 +524,49 @@ uninstall-am: uninstall-libfunctions_la_etcDATA \
        maintainer-clean-generic mostlyclean mostlyclean-generic \
        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
        uninstall-libfunctions_la_etcDATA \
-       uninstall-libfunctions_la_helpenDATA \
-       uninstall-libfunctions_la_helpfrDATA \
        uninstall-libfunctions_la_macroDATA \
        uninstall-libfunctions_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 034678b..53d768e 100644 (file)
@@ -744,7 +744,7 @@ libgraphics_la_sci_gateway_DATA = sci_gateway/graphics
 
 #### graphics : documentation FR #### 
 libgraphics_la_helpfrdir = $(target)/help/fr
-libgraphics_la_helpfr_DATA = help/fr/fcontour.htm \
+libgraphics_la_helpfr_DATA2 = help/fr/fcontour.htm \
 help/fr/m_circle.htm \
 help/fr/champ_properties.htm \
 help/fr/axis_properties.htm \
@@ -965,7 +965,7 @@ help/fr/xtape.htm
 
 #### graphics : documentation EN #### 
 libgraphics_la_helpendir = $(target)/help/eng
-libgraphics_la_helpen_DATA = help/eng/whatis.htm \
+libgraphics_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/alufunctions.htm \
 help/eng/plotframe.htm \
 help/eng/contour.htm \
@@ -1380,3 +1380,4 @@ demos/portrait.dem \
 demos/xdemo-1.dem \
 demos/bike.dem
 
+include $(top_srcdir)/Makefile.incl.am
index dab122f..bc07e9a 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/graphics
 DIST_COMMON = $(libgraphics_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/graphics
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +63,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libgraphics_la_etcdir)" \
-       "$(DESTDIR)$(libgraphics_la_helpendir)" \
-       "$(DESTDIR)$(libgraphics_la_helpfrdir)" \
        "$(DESTDIR)$(libgraphics_la_macrodir)" \
        "$(DESTDIR)$(libgraphics_la_rootdir)" \
        "$(DESTDIR)$(libgraphics_la_sci_gatewaydir)" \
@@ -441,14 +439,11 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libgraphics_la_SOURCES)
 DIST_SOURCES = $(libgraphics_la_SOURCES)
 libgraphics_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libgraphics_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libgraphics_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libgraphics_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libgraphics_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libgraphics_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 nobase_libgraphics_la_demosDATA_INSTALL = $(install_sh_DATA)
-DATA = $(libgraphics_la_etc_DATA) $(libgraphics_la_helpen_DATA) \
-       $(libgraphics_la_helpfr_DATA) $(libgraphics_la_macro_DATA) \
+DATA = $(libgraphics_la_etc_DATA) $(libgraphics_la_macro_DATA) \
        $(libgraphics_la_root_DATA) $(libgraphics_la_sci_gateway_DATA) \
        $(nobase_libgraphics_la_demos_DATA)
 libgraphics_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
@@ -1328,7 +1323,7 @@ libgraphics_la_sci_gateway_DATA = sci_gateway/graphics
 
 #### graphics : documentation FR #### 
 libgraphics_la_helpfrdir = $(target)/help/fr
-libgraphics_la_helpfr_DATA = help/fr/fcontour.htm \
+libgraphics_la_helpfr_DATA2 = help/fr/fcontour.htm \
 help/fr/m_circle.htm \
 help/fr/champ_properties.htm \
 help/fr/axis_properties.htm \
@@ -1549,7 +1544,7 @@ help/fr/xtape.htm
 
 #### graphics : documentation EN #### 
 libgraphics_la_helpendir = $(target)/help/eng
-libgraphics_la_helpen_DATA = help/eng/whatis.htm \
+libgraphics_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/alufunctions.htm \
 help/eng/plotframe.htm \
 help/eng/contour.htm \
@@ -1964,11 +1959,19 @@ demos/portrait.dem \
 demos/xdemo-1.dem \
 demos/bike.dem
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -5397,40 +5400,6 @@ uninstall-libgraphics_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libgraphics_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libgraphics_la_etcdir)/$$f"; \
        done
-install-libgraphics_la_helpenDATA: $(libgraphics_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libgraphics_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libgraphics_la_helpendir)"
-       @list='$(libgraphics_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libgraphics_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libgraphics_la_helpendir)/$$f'"; \
-         $(libgraphics_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libgraphics_la_helpendir)/$$f"; \
-       done
-
-uninstall-libgraphics_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libgraphics_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libgraphics_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libgraphics_la_helpendir)/$$f"; \
-       done
-install-libgraphics_la_helpfrDATA: $(libgraphics_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libgraphics_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libgraphics_la_helpfrdir)"
-       @list='$(libgraphics_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libgraphics_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libgraphics_la_helpfrdir)/$$f'"; \
-         $(libgraphics_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libgraphics_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libgraphics_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libgraphics_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libgraphics_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libgraphics_la_helpfrdir)/$$f"; \
-       done
 install-libgraphics_la_macroDATA: $(libgraphics_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libgraphics_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libgraphics_la_macrodir)"
@@ -5597,7 +5566,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgraphics_la_etcdir)" "$(DESTDIR)$(libgraphics_la_helpendir)" "$(DESTDIR)$(libgraphics_la_helpfrdir)" "$(DESTDIR)$(libgraphics_la_macrodir)" "$(DESTDIR)$(libgraphics_la_rootdir)" "$(DESTDIR)$(libgraphics_la_sci_gatewaydir)" "$(DESTDIR)$(libgraphics_la_demosdir)" "$(DESTDIR)$(libgraphics_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgraphics_la_etcdir)" "$(DESTDIR)$(libgraphics_la_macrodir)" "$(DESTDIR)$(libgraphics_la_rootdir)" "$(DESTDIR)$(libgraphics_la_sci_gatewaydir)" "$(DESTDIR)$(libgraphics_la_demosdir)" "$(DESTDIR)$(libgraphics_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -5646,8 +5615,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libgraphics_la_etcDATA \
-       install-libgraphics_la_helpenDATA \
-       install-libgraphics_la_helpfrDATA \
        install-libgraphics_la_includeHEADERS \
        install-libgraphics_la_macroDATA \
        install-libgraphics_la_rootDATA \
@@ -5660,6 +5627,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -5690,8 +5659,6 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libgraphics_la_etcDATA \
-       uninstall-libgraphics_la_helpenDATA \
-       uninstall-libgraphics_la_helpfrDATA \
        uninstall-libgraphics_la_includeHEADERS \
        uninstall-libgraphics_la_macroDATA \
        uninstall-libgraphics_la_rootDATA \
@@ -5706,10 +5673,9 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libgraphics_la_etcDATA \
-       install-libgraphics_la_helpenDATA \
-       install-libgraphics_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libgraphics_la_etcDATA \
        install-libgraphics_la_includeHEADERS \
        install-libgraphics_la_macroDATA \
        install-libgraphics_la_rootDATA \
@@ -5721,14 +5687,52 @@ uninstall-am: uninstall-libLTLIBRARIES \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libgraphics_la_etcDATA \
-       uninstall-libgraphics_la_helpenDATA \
-       uninstall-libgraphics_la_helpfrDATA \
        uninstall-libgraphics_la_includeHEADERS \
        uninstall-libgraphics_la_macroDATA \
        uninstall-libgraphics_la_rootDATA \
        uninstall-libgraphics_la_sci_gatewayDATA \
        uninstall-nobase_libgraphics_la_demosDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 6d1aae2..365e502 100644 (file)
@@ -159,7 +159,7 @@ libgui_la_sci_gateway_DATA = sci_gateway/gui
 
 #### gui : documentation FR #### 
 libgui_la_helpfrdir = $(target)/help/fr
-libgui_la_helpfr_DATA = help/fr/xgetfile.htm \
+libgui_la_helpfr_DATA2 = help/fr/xgetfile.htm \
 help/fr/setmenu.htm \
 help/fr/x_matrix.htm \
 help/fr/clc.htm \
@@ -179,7 +179,7 @@ help/fr/x_message_modeless.htm
 
 #### gui : documentation EN #### 
 libgui_la_helpendir = $(target)/help/eng
-libgui_la_helpen_DATA = help/eng/whatis.htm \
+libgui_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/getvalue.htm \
 help/eng/addmenu.htm \
 help/eng/clc.htm \
@@ -212,3 +212,4 @@ includes/sci_show_window.h
 libgui_la_demosdir=$(target)/demos/
 libgui_la_demos_DATA = demos/dialog.dem
 
+include $(top_srcdir)/Makefile.incl.am
index f38499c..731cf00 100644 (file)
@@ -40,9 +40,9 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 @JAVA_TRUE@am__append_1 = $(GUI_JAVA_SOURCES)
-subdir = modules/gui
 DIST_COMMON = $(libgui_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/gui
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -65,8 +65,6 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libgui_la_demosdir)" \
        "$(DESTDIR)$(libgui_la_etcdir)" \
-       "$(DESTDIR)$(libgui_la_helpendir)" \
-       "$(DESTDIR)$(libgui_la_helpfrdir)" \
        "$(DESTDIR)$(libgui_la_macrodir)" \
        "$(DESTDIR)$(libgui_la_rootdir)" \
        "$(DESTDIR)$(libgui_la_sci_gatewaydir)" \
@@ -183,13 +181,10 @@ SOURCES = $(libgui_la_SOURCES)
 DIST_SOURCES = $(am__libgui_la_SOURCES_DIST)
 libgui_la_demosDATA_INSTALL = $(INSTALL_DATA)
 libgui_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libgui_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libgui_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libgui_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libgui_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libgui_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libgui_la_demos_DATA) $(libgui_la_etc_DATA) \
-       $(libgui_la_helpen_DATA) $(libgui_la_helpfr_DATA) \
        $(libgui_la_macro_DATA) $(libgui_la_root_DATA) \
        $(libgui_la_sci_gateway_DATA)
 libgui_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
@@ -476,7 +471,7 @@ libgui_la_sci_gateway_DATA = sci_gateway/gui
 
 #### gui : documentation FR #### 
 libgui_la_helpfrdir = $(target)/help/fr
-libgui_la_helpfr_DATA = help/fr/xgetfile.htm \
+libgui_la_helpfr_DATA2 = help/fr/xgetfile.htm \
 help/fr/setmenu.htm \
 help/fr/x_matrix.htm \
 help/fr/clc.htm \
@@ -496,7 +491,7 @@ help/fr/x_message_modeless.htm
 
 #### gui : documentation EN #### 
 libgui_la_helpendir = $(target)/help/eng
-libgui_la_helpen_DATA = help/eng/whatis.htm \
+libgui_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/getvalue.htm \
 help/eng/addmenu.htm \
 help/eng/clc.htm \
@@ -528,12 +523,20 @@ includes/sci_show_window.h
 #### gui : demos files ####
 libgui_la_demosdir = $(target)/demos/
 libgui_la_demos_DATA = demos/dialog.dem
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -1210,40 +1213,6 @@ uninstall-libgui_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libgui_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libgui_la_etcdir)/$$f"; \
        done
-install-libgui_la_helpenDATA: $(libgui_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libgui_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libgui_la_helpendir)"
-       @list='$(libgui_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libgui_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libgui_la_helpendir)/$$f'"; \
-         $(libgui_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libgui_la_helpendir)/$$f"; \
-       done
-
-uninstall-libgui_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libgui_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libgui_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libgui_la_helpendir)/$$f"; \
-       done
-install-libgui_la_helpfrDATA: $(libgui_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libgui_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libgui_la_helpfrdir)"
-       @list='$(libgui_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libgui_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libgui_la_helpfrdir)/$$f'"; \
-         $(libgui_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libgui_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libgui_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libgui_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libgui_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libgui_la_helpfrdir)/$$f"; \
-       done
 install-libgui_la_macroDATA: $(libgui_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libgui_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libgui_la_macrodir)"
@@ -1392,7 +1361,7 @@ check: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgui_la_demosdir)" "$(DESTDIR)$(libgui_la_etcdir)" "$(DESTDIR)$(libgui_la_helpendir)" "$(DESTDIR)$(libgui_la_helpfrdir)" "$(DESTDIR)$(libgui_la_macrodir)" "$(DESTDIR)$(libgui_la_rootdir)" "$(DESTDIR)$(libgui_la_sci_gatewaydir)" "$(DESTDIR)$(libgui_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgui_la_demosdir)" "$(DESTDIR)$(libgui_la_etcdir)" "$(DESTDIR)$(libgui_la_macrodir)" "$(DESTDIR)$(libgui_la_rootdir)" "$(DESTDIR)$(libgui_la_sci_gatewaydir)" "$(DESTDIR)$(libgui_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: $(BUILT_SOURCES)
@@ -1444,7 +1413,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libgui_la_demosDATA install-libgui_la_etcDATA \
-       install-libgui_la_helpenDATA install-libgui_la_helpfrDATA \
        install-libgui_la_includeHEADERS install-libgui_la_macroDATA \
        install-libgui_la_rootDATA install-libgui_la_sci_gatewayDATA
 
@@ -1454,6 +1422,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1483,9 +1453,7 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libgui_la_demosDATA \
-       uninstall-libgui_la_etcDATA uninstall-libgui_la_helpenDATA \
-       uninstall-libgui_la_helpfrDATA \
-       uninstall-libgui_la_includeHEADERS \
+       uninstall-libgui_la_etcDATA uninstall-libgui_la_includeHEADERS \
        uninstall-libgui_la_macroDATA uninstall-libgui_la_rootDATA \
        uninstall-libgui_la_sci_gatewayDATA
 
@@ -1497,19 +1465,18 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libgui_la_demosDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libgui_la_demosDATA \
-       install-libgui_la_etcDATA install-libgui_la_helpenDATA \
-       install-libgui_la_helpfrDATA install-libgui_la_includeHEADERS \
-       install-libgui_la_macroDATA install-libgui_la_rootDATA \
-       install-libgui_la_sci_gatewayDATA install-man install-pdf \
-       install-pdf-am install-ps install-ps-am install-strip \
-       installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-libLTLIBRARIES \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libgui_la_demosDATA install-libgui_la_etcDATA \
+       install-libgui_la_includeHEADERS install-libgui_la_macroDATA \
+       install-libgui_la_rootDATA install-libgui_la_sci_gatewayDATA \
+       install-man install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+       uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libgui_la_demosDATA uninstall-libgui_la_etcDATA \
-       uninstall-libgui_la_helpenDATA uninstall-libgui_la_helpfrDATA \
        uninstall-libgui_la_includeHEADERS \
        uninstall-libgui_la_macroDATA uninstall-libgui_la_rootDATA \
        uninstall-libgui_la_sci_gatewayDATA
@@ -1517,6 +1484,46 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libgui_la_demosDATA \
 
 $(top_srcdir)/modules/gui/src/c/xsci/Xscilab.ad.h: $(top_srcdir)/modules/gui/src/c/xsci/Xscilab.ad src/c/xsci/x_main.c
        $(top_srcdir)/modules/gui/src/c/xsci/ad2c.sh $(top_srcdir)/modules/gui/src/c/xsci/Xscilab.ad > $(top_srcdir)/modules/gui/src/c/xsci/Xscilab.ad.h
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 9671671..181f96c 100644 (file)
@@ -7,15 +7,17 @@ datadir=${prefix}/modules
 #### Target ######
 target=$(datadir)/helptools
 
+#SUFFIXES = .bin
+#      SCISCRIPT=$<
+#      $(top_builddir)/scilab-bin -ns -nwni -e "getf('$SCISCRIPT'); save('$SCISCRIPT.bin'); exit;"
 
 #### helptools : Conf files ####
 libhelptools_la_rootdir = $(target)
 libhelptools_la_root_DATA = changelog.txt licence.txt readme.txt VERSION
 
-
 #### helptools : Scilab macros ###
 libhelptools_la_macrodir = $(target)/macros
-libhelptools_la_macro_DATA = macros/add_help_chapter.sci \
+dist_libhelptools_la_macro_DATA = macros/add_help_chapter.sci \
 macros/browsehelp.sci \
 macros/help_menu.sci \
 macros/make_help_index.sci \
@@ -66,7 +68,7 @@ libhelptools_la_etc_DATA = etc/helptools.quit etc/helptools.start
 
 #### helptools : documentation FR #### 
 libhelptools_la_helpfrdir = $(target)/help/fr
-libhelptools_la_helpfr_DATA = help/fr/help_skeleton.htm \
+dist_libhelptools_la_helpfr_DATA2 = help/fr/help_skeleton.htm \
 help/fr/make_index.htm \
 help/fr/manedit.htm \
 help/fr/man.htm \
@@ -82,7 +84,7 @@ help/fr/percenthelps.htm
 
 #### helptools : documentation EN #### 
 libhelptools_la_helpendir = $(target)/help/eng
-libhelptools_la_helpen_DATA = help/eng/whatis.htm \
+dist_libhelptools_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/help.htm \
 help/eng/apropos.htm \
 help/eng/add_help_chapter.htm \
@@ -94,4 +96,4 @@ help/eng/help_skeleton.htm \
 help/eng/man.htm \
 help/eng/percenthelps.htm \
 help/eng/xmltohtml.htm
-
+include $(top_srcdir)/Makefile.incl.am
index 6696015..60b66ba 100644 (file)
@@ -37,8 +37,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(dist_libhelptools_la_macro_DATA) $(srcdir)/Makefile.am \
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
 subdir = modules/helptools
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -60,18 +61,13 @@ am__vpath_adj = case $$p in \
     *) f=$$p;; \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(libhelptools_la_etcdir)" \
-       "$(DESTDIR)$(libhelptools_la_helpendir)" \
-       "$(DESTDIR)$(libhelptools_la_helpfrdir)" \
-       "$(DESTDIR)$(libhelptools_la_macrodir)" \
+am__installdirs = "$(DESTDIR)$(libhelptools_la_macrodir)" \
+       "$(DESTDIR)$(libhelptools_la_etcdir)" \
        "$(DESTDIR)$(libhelptools_la_rootdir)"
+dist_libhelptools_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libhelptools_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libhelptools_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libhelptools_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
-libhelptools_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libhelptools_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libhelptools_la_etc_DATA) $(libhelptools_la_helpen_DATA) \
-       $(libhelptools_la_helpfr_DATA) $(libhelptools_la_macro_DATA) \
+DATA = $(dist_libhelptools_la_macro_DATA) $(libhelptools_la_etc_DATA) \
        $(libhelptools_la_root_DATA)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
@@ -218,13 +214,17 @@ top_srcdir = @top_srcdir@
 #### Target ######
 target = $(datadir)/helptools
 
+#SUFFIXES = .bin
+#      SCISCRIPT=$<
+#      $(top_builddir)/scilab-bin -ns -nwni -e "getf('$SCISCRIPT'); save('$SCISCRIPT.bin'); exit;"
+
 #### helptools : Conf files ####
 libhelptools_la_rootdir = $(target)
 libhelptools_la_root_DATA = changelog.txt licence.txt readme.txt VERSION
 
 #### helptools : Scilab macros ###
 libhelptools_la_macrodir = $(target)/macros
-libhelptools_la_macro_DATA = macros/add_help_chapter.sci \
+dist_libhelptools_la_macro_DATA = macros/add_help_chapter.sci \
 macros/browsehelp.sci \
 macros/help_menu.sci \
 macros/make_help_index.sci \
@@ -275,7 +275,7 @@ libhelptools_la_etc_DATA = etc/helptools.quit etc/helptools.start
 
 #### helptools : documentation FR #### 
 libhelptools_la_helpfrdir = $(target)/help/fr
-libhelptools_la_helpfr_DATA = help/fr/help_skeleton.htm \
+dist_libhelptools_la_helpfr_DATA2 = help/fr/help_skeleton.htm \
 help/fr/make_index.htm \
 help/fr/manedit.htm \
 help/fr/man.htm \
@@ -291,7 +291,7 @@ help/fr/percenthelps.htm
 
 #### helptools : documentation EN #### 
 libhelptools_la_helpendir = $(target)/help/eng
-libhelptools_la_helpen_DATA = help/eng/whatis.htm \
+dist_libhelptools_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/help.htm \
 help/eng/apropos.htm \
 help/eng/add_help_chapter.htm \
@@ -304,10 +304,19 @@ help/eng/man.htm \
 help/eng/percenthelps.htm \
 help/eng/xmltohtml.htm
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -342,6 +351,23 @@ mostlyclean-libtool:
 
 clean-libtool:
        -rm -rf .libs _libs
+install-dist_libhelptools_la_macroDATA: $(dist_libhelptools_la_macro_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(libhelptools_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libhelptools_la_macrodir)"
+       @list='$(dist_libhelptools_la_macro_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(dist_libhelptools_la_macroDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhelptools_la_macrodir)/$$f'"; \
+         $(dist_libhelptools_la_macroDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhelptools_la_macrodir)/$$f"; \
+       done
+
+uninstall-dist_libhelptools_la_macroDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(dist_libhelptools_la_macro_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(libhelptools_la_macrodir)/$$f'"; \
+         rm -f "$(DESTDIR)$(libhelptools_la_macrodir)/$$f"; \
+       done
 install-libhelptools_la_etcDATA: $(libhelptools_la_etc_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libhelptools_la_etcdir)" || $(MKDIR_P) "$(DESTDIR)$(libhelptools_la_etcdir)"
@@ -359,57 +385,6 @@ uninstall-libhelptools_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libhelptools_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libhelptools_la_etcdir)/$$f"; \
        done
-install-libhelptools_la_helpenDATA: $(libhelptools_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libhelptools_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libhelptools_la_helpendir)"
-       @list='$(libhelptools_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libhelptools_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhelptools_la_helpendir)/$$f'"; \
-         $(libhelptools_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhelptools_la_helpendir)/$$f"; \
-       done
-
-uninstall-libhelptools_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libhelptools_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libhelptools_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libhelptools_la_helpendir)/$$f"; \
-       done
-install-libhelptools_la_helpfrDATA: $(libhelptools_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libhelptools_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libhelptools_la_helpfrdir)"
-       @list='$(libhelptools_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libhelptools_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhelptools_la_helpfrdir)/$$f'"; \
-         $(libhelptools_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhelptools_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libhelptools_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libhelptools_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libhelptools_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libhelptools_la_helpfrdir)/$$f"; \
-       done
-install-libhelptools_la_macroDATA: $(libhelptools_la_macro_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libhelptools_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libhelptools_la_macrodir)"
-       @list='$(libhelptools_la_macro_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libhelptools_la_macroDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhelptools_la_macrodir)/$$f'"; \
-         $(libhelptools_la_macroDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhelptools_la_macrodir)/$$f"; \
-       done
-
-uninstall-libhelptools_la_macroDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libhelptools_la_macro_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libhelptools_la_macrodir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libhelptools_la_macrodir)/$$f"; \
-       done
 install-libhelptools_la_rootDATA: $(libhelptools_la_root_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libhelptools_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libhelptools_la_rootdir)"
@@ -464,7 +439,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libhelptools_la_etcdir)" "$(DESTDIR)$(libhelptools_la_helpendir)" "$(DESTDIR)$(libhelptools_la_helpfrdir)" "$(DESTDIR)$(libhelptools_la_macrodir)" "$(DESTDIR)$(libhelptools_la_rootdir)"; do \
+       for dir in "$(DESTDIR)$(libhelptools_la_macrodir)" "$(DESTDIR)$(libhelptools_la_etcdir)" "$(DESTDIR)$(libhelptools_la_rootdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -509,10 +484,8 @@ info: info-am
 
 info-am:
 
-install-data-am: install-libhelptools_la_etcDATA \
-       install-libhelptools_la_helpenDATA \
-       install-libhelptools_la_helpfrDATA \
-       install-libhelptools_la_macroDATA \
+install-data-am: install-dist_libhelptools_la_macroDATA \
+       install-libhelptools_la_etcDATA \
        install-libhelptools_la_rootDATA
 
 install-dvi: install-dvi-am
@@ -521,6 +494,8 @@ install-exec-am:
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -547,10 +522,8 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am: uninstall-libhelptools_la_etcDATA \
-       uninstall-libhelptools_la_helpenDATA \
-       uninstall-libhelptools_la_helpfrDATA \
-       uninstall-libhelptools_la_macroDATA \
+uninstall-am: uninstall-dist_libhelptools_la_macroDATA \
+       uninstall-libhelptools_la_etcDATA \
        uninstall-libhelptools_la_rootDATA
 
 .MAKE: install-am install-strip
@@ -558,23 +531,60 @@ uninstall-am: uninstall-libhelptools_la_etcDATA \
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
        distclean distclean-generic distclean-libtool distdir dvi \
        dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dvi install-dvi-am \
-       install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am install-libhelptools_la_etcDATA \
-       install-libhelptools_la_helpenDATA \
-       install-libhelptools_la_helpfrDATA \
-       install-libhelptools_la_macroDATA \
+       install-data install-data-am \
+       install-dist_libhelptools_la_macroDATA install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-html-local install-info \
+       install-info-am install-libhelptools_la_etcDATA \
        install-libhelptools_la_rootDATA install-man install-pdf \
        install-pdf-am install-ps install-ps-am install-strip \
        installcheck installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-generic \
        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+       uninstall-dist_libhelptools_la_macroDATA \
        uninstall-libhelptools_la_etcDATA \
-       uninstall-libhelptools_la_helpenDATA \
-       uninstall-libhelptools_la_helpfrDATA \
-       uninstall-libhelptools_la_macroDATA \
        uninstall-libhelptools_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index e96a04b..2da5655 100644 (file)
@@ -50,7 +50,7 @@ libincremental_link_la_etc_DATA = etc/incremental_link.quit etc/incremental_link
 
 #### incremental_link : documentation FR #### 
 libincremental_link_la_helpfrdir = $(target)/help/fr
-libincremental_link_la_helpfr_DATA = help/fr/ilib_gen_gateway.htm \
+libincremental_link_la_helpfr_DATA2 = help/fr/ilib_gen_gateway.htm \
 help/fr/ilib_for_link.htm \
 help/fr/findmsvccompiler.htm \
 help/fr/ilib_gen_loader.htm \
@@ -65,7 +65,7 @@ help/fr/ilib_build.htm
 
 #### incremental_link : documentation EN #### 
 libincremental_link_la_helpendir = $(target)/help/eng
-libincremental_link_la_helpen_DATA = help/eng/whatis.htm \
+libincremental_link_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/findmsvccompiler.htm \
 help/eng/configure_msvc.htm \
 help/eng/G_make.htm \
@@ -96,3 +96,4 @@ src/scripts/install-sh \
 src/scripts/missing \
 src/scripts/scicompile.sh \
 src/scripts/libtool
+include $(top_srcdir)/Makefile.incl.am
index c04c783..30300ed 100644 (file)
@@ -38,8 +38,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/incremental_link
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -55,8 +56,6 @@ CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
 CONFIG_CLEAN_FILES =
 am__installdirs = "$(DESTDIR)$(libincremental_link_la_scriptdir)" \
        "$(DESTDIR)$(libincremental_link_la_etcdir)" \
-       "$(DESTDIR)$(libincremental_link_la_helpendir)" \
-       "$(DESTDIR)$(libincremental_link_la_helpfrdir)" \
        "$(DESTDIR)$(libincremental_link_la_macrodir)" \
        "$(DESTDIR)$(libincremental_link_la_rootdir)" \
        "$(DESTDIR)$(libincremental_link_la_scriptdir)"
@@ -71,14 +70,10 @@ am__vpath_adj = case $$p in \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 libincremental_link_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libincremental_link_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libincremental_link_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libincremental_link_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libincremental_link_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libincremental_link_la_scriptDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libincremental_link_la_etc_DATA) \
-       $(libincremental_link_la_helpen_DATA) \
-       $(libincremental_link_la_helpfr_DATA) \
        $(libincremental_link_la_macro_DATA) \
        $(libincremental_link_la_root_DATA) \
        $(libincremental_link_la_script_DATA)
@@ -268,7 +263,7 @@ libincremental_link_la_etc_DATA = etc/incremental_link.quit etc/incremental_link
 
 #### incremental_link : documentation FR #### 
 libincremental_link_la_helpfrdir = $(target)/help/fr
-libincremental_link_la_helpfr_DATA = help/fr/ilib_gen_gateway.htm \
+libincremental_link_la_helpfr_DATA2 = help/fr/ilib_gen_gateway.htm \
 help/fr/ilib_for_link.htm \
 help/fr/findmsvccompiler.htm \
 help/fr/ilib_gen_loader.htm \
@@ -283,7 +278,7 @@ help/fr/ilib_build.htm
 
 #### incremental_link : documentation EN #### 
 libincremental_link_la_helpendir = $(target)/help/eng
-libincremental_link_la_helpen_DATA = help/eng/whatis.htm \
+libincremental_link_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/findmsvccompiler.htm \
 help/eng/configure_msvc.htm \
 help/eng/G_make.htm \
@@ -315,10 +310,19 @@ src/scripts/missing \
 src/scripts/scicompile.sh \
 src/scripts/libtool
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -389,40 +393,6 @@ uninstall-libincremental_link_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libincremental_link_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libincremental_link_la_etcdir)/$$f"; \
        done
-install-libincremental_link_la_helpenDATA: $(libincremental_link_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libincremental_link_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libincremental_link_la_helpendir)"
-       @list='$(libincremental_link_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libincremental_link_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libincremental_link_la_helpendir)/$$f'"; \
-         $(libincremental_link_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libincremental_link_la_helpendir)/$$f"; \
-       done
-
-uninstall-libincremental_link_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libincremental_link_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libincremental_link_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libincremental_link_la_helpendir)/$$f"; \
-       done
-install-libincremental_link_la_helpfrDATA: $(libincremental_link_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libincremental_link_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libincremental_link_la_helpfrdir)"
-       @list='$(libincremental_link_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libincremental_link_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libincremental_link_la_helpfrdir)/$$f'"; \
-         $(libincremental_link_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libincremental_link_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libincremental_link_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libincremental_link_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libincremental_link_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libincremental_link_la_helpfrdir)/$$f"; \
-       done
 install-libincremental_link_la_macroDATA: $(libincremental_link_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libincremental_link_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libincremental_link_la_macrodir)"
@@ -511,7 +481,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(SCRIPTS) $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libincremental_link_la_scriptdir)" "$(DESTDIR)$(libincremental_link_la_etcdir)" "$(DESTDIR)$(libincremental_link_la_helpendir)" "$(DESTDIR)$(libincremental_link_la_helpfrdir)" "$(DESTDIR)$(libincremental_link_la_macrodir)" "$(DESTDIR)$(libincremental_link_la_rootdir)" "$(DESTDIR)$(libincremental_link_la_scriptdir)"; do \
+       for dir in "$(DESTDIR)$(libincremental_link_la_scriptdir)" "$(DESTDIR)$(libincremental_link_la_etcdir)" "$(DESTDIR)$(libincremental_link_la_macrodir)" "$(DESTDIR)$(libincremental_link_la_rootdir)" "$(DESTDIR)$(libincremental_link_la_scriptdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -557,8 +527,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libincremental_link_la_etcDATA \
-       install-libincremental_link_la_helpenDATA \
-       install-libincremental_link_la_helpfrDATA \
        install-libincremental_link_la_macroDATA \
        install-libincremental_link_la_rootDATA \
        install-libincremental_link_la_scriptDATA \
@@ -570,6 +538,8 @@ install-exec-am:
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -597,8 +567,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libincremental_link_la_etcDATA \
-       uninstall-libincremental_link_la_helpenDATA \
-       uninstall-libincremental_link_la_helpfrDATA \
        uninstall-libincremental_link_la_macroDATA \
        uninstall-libincremental_link_la_rootDATA \
        uninstall-libincremental_link_la_scriptDATA \
@@ -611,10 +579,8 @@ uninstall-am: uninstall-libincremental_link_la_etcDATA \
        dvi-am html html-am info info-am install install-am \
        install-data install-data-am install-dvi install-dvi-am \
        install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am \
+       install-html-local install-info install-info-am \
        install-libincremental_link_la_etcDATA \
-       install-libincremental_link_la_helpenDATA \
-       install-libincremental_link_la_helpfrDATA \
        install-libincremental_link_la_macroDATA \
        install-libincremental_link_la_rootDATA \
        install-libincremental_link_la_scriptDATA \
@@ -625,13 +591,51 @@ uninstall-am: uninstall-libincremental_link_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        uninstall uninstall-am \
        uninstall-libincremental_link_la_etcDATA \
-       uninstall-libincremental_link_la_helpenDATA \
-       uninstall-libincremental_link_la_helpfrDATA \
        uninstall-libincremental_link_la_macroDATA \
        uninstall-libincremental_link_la_rootDATA \
        uninstall-libincremental_link_la_scriptDATA \
        uninstall-libincremental_link_la_scriptSCRIPTS
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index dcea393..14ea821 100644 (file)
@@ -10,3 +10,4 @@ lib_LTLIBRARIES = libsciexternal.la
 # Don't change name or order 
 libsciexternal_la_SOURCES = foo.c foo2.f foo3.cxx
 
+include $(top_srcdir)/Makefile.incl.am
index 3e1a4b4..b0d0ae8 100644 (file)
@@ -251,14 +251,14 @@ libinteger_la_sci_gateway_DATA = sci_gateway/integer
 
 #### integer : documentation FR #### 
 libinteger_la_helpfrdir = $(target)/help/fr
-libinteger_la_helpfr_DATA = help/fr/whatis.htm \
+libinteger_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/iconvert.htm \
 help/fr/inttype.htm
 
 
 #### integer : documentation EN #### 
 libinteger_la_helpendir = $(target)/help/eng
-libinteger_la_helpen_DATA = help/eng/whatis.htm \
+libinteger_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/iconvert.htm \
 help/eng/inttype.htm
 
@@ -268,3 +268,4 @@ libinteger_la_includedir=$(includedir)/integer
 libinteger_la_include_HEADERS = includes/gw_integer.h \
 includes/def.h
 
+include $(top_srcdir)/Makefile.incl.am
index 858c05f..4c6ad6a 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/integer
 DIST_COMMON = $(libinteger_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/integer
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +63,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libinteger_la_etcdir)" \
-       "$(DESTDIR)$(libinteger_la_helpendir)" \
-       "$(DESTDIR)$(libinteger_la_helpfrdir)" \
        "$(DESTDIR)$(libinteger_la_macrodir)" \
        "$(DESTDIR)$(libinteger_la_rootdir)" \
        "$(DESTDIR)$(libinteger_la_sci_gatewaydir)" \
@@ -138,13 +136,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libinteger_la_SOURCES)
 DIST_SOURCES = $(libinteger_la_SOURCES)
 libinteger_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libinteger_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libinteger_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libinteger_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libinteger_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libinteger_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libinteger_la_etc_DATA) $(libinteger_la_helpen_DATA) \
-       $(libinteger_la_helpfr_DATA) $(libinteger_la_macro_DATA) \
+DATA = $(libinteger_la_etc_DATA) $(libinteger_la_macro_DATA) \
        $(libinteger_la_root_DATA) $(libinteger_la_sci_gateway_DATA)
 libinteger_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(libinteger_la_include_HEADERS)
@@ -531,14 +526,14 @@ libinteger_la_sci_gateway_DATA = sci_gateway/integer
 
 #### integer : documentation FR #### 
 libinteger_la_helpfrdir = $(target)/help/fr
-libinteger_la_helpfr_DATA = help/fr/whatis.htm \
+libinteger_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/iconvert.htm \
 help/fr/inttype.htm
 
 
 #### integer : documentation EN #### 
 libinteger_la_helpendir = $(target)/help/eng
-libinteger_la_helpen_DATA = help/eng/whatis.htm \
+libinteger_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/iconvert.htm \
 help/eng/inttype.htm
 
@@ -548,11 +543,19 @@ libinteger_la_includedir = $(includedir)/integer
 libinteger_la_include_HEADERS = includes/gw_integer.h \
 includes/def.h
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -1227,40 +1230,6 @@ uninstall-libinteger_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libinteger_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libinteger_la_etcdir)/$$f"; \
        done
-install-libinteger_la_helpenDATA: $(libinteger_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libinteger_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libinteger_la_helpendir)"
-       @list='$(libinteger_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libinteger_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libinteger_la_helpendir)/$$f'"; \
-         $(libinteger_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libinteger_la_helpendir)/$$f"; \
-       done
-
-uninstall-libinteger_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libinteger_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libinteger_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libinteger_la_helpendir)/$$f"; \
-       done
-install-libinteger_la_helpfrDATA: $(libinteger_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libinteger_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libinteger_la_helpfrdir)"
-       @list='$(libinteger_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libinteger_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libinteger_la_helpfrdir)/$$f'"; \
-         $(libinteger_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libinteger_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libinteger_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libinteger_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libinteger_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libinteger_la_helpfrdir)/$$f"; \
-       done
 install-libinteger_la_macroDATA: $(libinteger_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libinteger_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libinteger_la_macrodir)"
@@ -1408,7 +1377,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libinteger_la_etcdir)" "$(DESTDIR)$(libinteger_la_helpendir)" "$(DESTDIR)$(libinteger_la_helpfrdir)" "$(DESTDIR)$(libinteger_la_macrodir)" "$(DESTDIR)$(libinteger_la_rootdir)" "$(DESTDIR)$(libinteger_la_sci_gatewaydir)" "$(DESTDIR)$(libinteger_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libinteger_la_etcdir)" "$(DESTDIR)$(libinteger_la_macrodir)" "$(DESTDIR)$(libinteger_la_rootdir)" "$(DESTDIR)$(libinteger_la_sci_gatewaydir)" "$(DESTDIR)$(libinteger_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -1457,8 +1426,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libinteger_la_etcDATA \
-       install-libinteger_la_helpenDATA \
-       install-libinteger_la_helpfrDATA \
        install-libinteger_la_includeHEADERS \
        install-libinteger_la_macroDATA install-libinteger_la_rootDATA \
        install-libinteger_la_sci_gatewayDATA
@@ -1469,6 +1436,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1498,8 +1467,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libinteger_la_etcDATA \
-       uninstall-libinteger_la_helpenDATA \
-       uninstall-libinteger_la_helpfrDATA \
        uninstall-libinteger_la_includeHEADERS \
        uninstall-libinteger_la_macroDATA \
        uninstall-libinteger_la_rootDATA \
@@ -1513,10 +1480,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libinteger_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libinteger_la_etcDATA \
-       install-libinteger_la_helpenDATA \
-       install-libinteger_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libinteger_la_etcDATA \
        install-libinteger_la_includeHEADERS \
        install-libinteger_la_macroDATA install-libinteger_la_rootDATA \
        install-libinteger_la_sci_gatewayDATA install-man install-pdf \
@@ -1526,13 +1492,51 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libinteger_la_etcDATA \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-libinteger_la_etcDATA \
-       uninstall-libinteger_la_helpenDATA \
-       uninstall-libinteger_la_helpfrDATA \
        uninstall-libinteger_la_includeHEADERS \
        uninstall-libinteger_la_macroDATA \
        uninstall-libinteger_la_rootDATA \
        uninstall-libinteger_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 7acb5f6..c46b797 100644 (file)
@@ -63,7 +63,7 @@ libinterpolation_la_sci_gateway_DATA = sci_gateway/interpolation
 
 #### interpolation : documentation FR #### 
 libinterpolation_la_helpfrdir = $(target)/help/fr
-libinterpolation_la_helpfr_DATA = help/fr/interp3d.htm \
+libinterpolation_la_helpfr_DATA2 = help/fr/interp3d.htm \
 help/fr/interp.htm \
 help/fr/lsq_splin.htm \
 help/fr/splin3d.htm \
@@ -78,7 +78,7 @@ help/fr/linear_interpn.htm
 
 #### interpolation : documentation EN #### 
 libinterpolation_la_helpendir = $(target)/help/eng
-libinterpolation_la_helpen_DATA = help/eng/whatis.htm \
+libinterpolation_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/eval_cshep2d.htm \
 help/eng/bsplin3val.htm \
 help/eng/cshep2d.htm \
@@ -102,3 +102,4 @@ includes/constinterp.h
 libinterpolation_la_demosdir=$(target)/demos/
 libinterpolation_la_demos_DATA = demos/interp_demo.sci
 
+include $(top_srcdir)/Makefile.incl.am
index 69a8b11..6a93d45 100644 (file)
@@ -39,9 +39,10 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/interpolation
 DIST_COMMON = $(libinterpolation_la_include_HEADERS) \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
+subdir = modules/interpolation
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -64,8 +65,6 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libinterpolation_la_demosdir)" \
        "$(DESTDIR)$(libinterpolation_la_etcdir)" \
-       "$(DESTDIR)$(libinterpolation_la_helpendir)" \
-       "$(DESTDIR)$(libinterpolation_la_helpfrdir)" \
        "$(DESTDIR)$(libinterpolation_la_macrodir)" \
        "$(DESTDIR)$(libinterpolation_la_rootdir)" \
        "$(DESTDIR)$(libinterpolation_la_sci_gatewaydir)" \
@@ -122,15 +121,11 @@ SOURCES = $(libinterpolation_la_SOURCES)
 DIST_SOURCES = $(libinterpolation_la_SOURCES)
 libinterpolation_la_demosDATA_INSTALL = $(INSTALL_DATA)
 libinterpolation_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libinterpolation_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libinterpolation_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libinterpolation_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libinterpolation_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libinterpolation_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(libinterpolation_la_demos_DATA) \
        $(libinterpolation_la_etc_DATA) \
-       $(libinterpolation_la_helpen_DATA) \
-       $(libinterpolation_la_helpfr_DATA) \
        $(libinterpolation_la_macro_DATA) \
        $(libinterpolation_la_root_DATA) \
        $(libinterpolation_la_sci_gateway_DATA)
@@ -332,7 +327,7 @@ libinterpolation_la_sci_gateway_DATA = sci_gateway/interpolation
 
 #### interpolation : documentation FR #### 
 libinterpolation_la_helpfrdir = $(target)/help/fr
-libinterpolation_la_helpfr_DATA = help/fr/interp3d.htm \
+libinterpolation_la_helpfr_DATA2 = help/fr/interp3d.htm \
 help/fr/interp.htm \
 help/fr/lsq_splin.htm \
 help/fr/splin3d.htm \
@@ -347,7 +342,7 @@ help/fr/linear_interpn.htm
 
 #### interpolation : documentation EN #### 
 libinterpolation_la_helpendir = $(target)/help/eng
-libinterpolation_la_helpen_DATA = help/eng/whatis.htm \
+libinterpolation_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/eval_cshep2d.htm \
 help/eng/bsplin3val.htm \
 help/eng/cshep2d.htm \
@@ -370,11 +365,19 @@ includes/constinterp.h
 #### interpolation : demos files ####
 libinterpolation_la_demosdir = $(target)/demos/
 libinterpolation_la_demos_DATA = demos/interp_demo.sci
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -636,40 +639,6 @@ uninstall-libinterpolation_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libinterpolation_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libinterpolation_la_etcdir)/$$f"; \
        done
-install-libinterpolation_la_helpenDATA: $(libinterpolation_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libinterpolation_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libinterpolation_la_helpendir)"
-       @list='$(libinterpolation_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libinterpolation_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libinterpolation_la_helpendir)/$$f'"; \
-         $(libinterpolation_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libinterpolation_la_helpendir)/$$f"; \
-       done
-
-uninstall-libinterpolation_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libinterpolation_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libinterpolation_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libinterpolation_la_helpendir)/$$f"; \
-       done
-install-libinterpolation_la_helpfrDATA: $(libinterpolation_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libinterpolation_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libinterpolation_la_helpfrdir)"
-       @list='$(libinterpolation_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libinterpolation_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libinterpolation_la_helpfrdir)/$$f'"; \
-         $(libinterpolation_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libinterpolation_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libinterpolation_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libinterpolation_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libinterpolation_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libinterpolation_la_helpfrdir)/$$f"; \
-       done
 install-libinterpolation_la_macroDATA: $(libinterpolation_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libinterpolation_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libinterpolation_la_macrodir)"
@@ -817,7 +786,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libinterpolation_la_demosdir)" "$(DESTDIR)$(libinterpolation_la_etcdir)" "$(DESTDIR)$(libinterpolation_la_helpendir)" "$(DESTDIR)$(libinterpolation_la_helpfrdir)" "$(DESTDIR)$(libinterpolation_la_macrodir)" "$(DESTDIR)$(libinterpolation_la_rootdir)" "$(DESTDIR)$(libinterpolation_la_sci_gatewaydir)" "$(DESTDIR)$(libinterpolation_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libinterpolation_la_demosdir)" "$(DESTDIR)$(libinterpolation_la_etcdir)" "$(DESTDIR)$(libinterpolation_la_macrodir)" "$(DESTDIR)$(libinterpolation_la_rootdir)" "$(DESTDIR)$(libinterpolation_la_sci_gatewaydir)" "$(DESTDIR)$(libinterpolation_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -867,8 +836,6 @@ info-am:
 
 install-data-am: install-libinterpolation_la_demosDATA \
        install-libinterpolation_la_etcDATA \
-       install-libinterpolation_la_helpenDATA \
-       install-libinterpolation_la_helpfrDATA \
        install-libinterpolation_la_includeHEADERS \
        install-libinterpolation_la_macroDATA \
        install-libinterpolation_la_rootDATA \
@@ -880,6 +847,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -911,8 +880,6 @@ ps-am:
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libinterpolation_la_demosDATA \
        uninstall-libinterpolation_la_etcDATA \
-       uninstall-libinterpolation_la_helpenDATA \
-       uninstall-libinterpolation_la_helpfrDATA \
        uninstall-libinterpolation_la_includeHEADERS \
        uninstall-libinterpolation_la_macroDATA \
        uninstall-libinterpolation_la_rootDATA \
@@ -926,11 +893,10 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libinterpolation_la_demosDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libinterpolation_la_demosDATA \
        install-libinterpolation_la_etcDATA \
-       install-libinterpolation_la_helpenDATA \
-       install-libinterpolation_la_helpfrDATA \
        install-libinterpolation_la_includeHEADERS \
        install-libinterpolation_la_macroDATA \
        install-libinterpolation_la_rootDATA \
@@ -943,13 +909,51 @@ uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-libLTLIBRARIES \
        uninstall-libinterpolation_la_demosDATA \
        uninstall-libinterpolation_la_etcDATA \
-       uninstall-libinterpolation_la_helpenDATA \
-       uninstall-libinterpolation_la_helpfrDATA \
        uninstall-libinterpolation_la_includeHEADERS \
        uninstall-libinterpolation_la_macroDATA \
        uninstall-libinterpolation_la_rootDATA \
        uninstall-libinterpolation_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 6460d4b..6a2e2df 100644 (file)
@@ -1,3 +1,9 @@
+##########
+### Sylvestre Ledru <sylvestre.ledru@inria.fr>
+### INRIA - Scilab 2006 
+##########
+
+
 INTERSCI_LIB_C_SOURCES = \
 src/lib/libinter.c \
 src/lib/erro.c \
@@ -55,12 +61,13 @@ libintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start
 
 #### intersci : documentation FR #### 
 libintersci_la_helpfrdir = $(target)/help/fr
-libintersci_la_helpfr_DATA = help/fr/whatis.htm \
-help/fr/intersci.htm
+libintersci_la_helpfr_DATA2 = help/fr/whatis.htm
 
 
 #### intersci : documentation EN #### 
 libintersci_la_helpendir = $(target)/help/eng
-libintersci_la_helpen_DATA = help/eng/whatis.htm \
+libintersci_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/intersci.htm
 
+include $(top_srcdir)/Makefile.incl.am
+
index 4f97648..a348f98 100644 (file)
 
 @SET_MAKE@
 
+##########
+### Sylvestre Ledru <sylvestre.ledru@inria.fr>
+### INRIA - Scilab 2006 
+##########
+
 
 
 VPATH = @srcdir@
@@ -35,8 +40,9 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 bin_PROGRAMS = intersci$(EXEEXT)
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/intersci
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -58,8 +64,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
        "$(DESTDIR)$(libintersci_la_etcdir)" \
-       "$(DESTDIR)$(libintersci_la_helpendir)" \
-       "$(DESTDIR)$(libintersci_la_helpfrdir)" \
        "$(DESTDIR)$(libintersci_la_macrodir)" \
        "$(DESTDIR)$(libintersci_la_rootdir)"
 libLTLIBRARIES_INSTALL = $(INSTALL)
@@ -97,12 +101,9 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libintersci_la_SOURCES) $(intersci_SOURCES)
 DIST_SOURCES = $(libintersci_la_SOURCES) $(intersci_SOURCES)
 libintersci_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libintersci_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libintersci_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libintersci_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libintersci_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libintersci_la_etc_DATA) $(libintersci_la_helpen_DATA) \
-       $(libintersci_la_helpfr_DATA) $(libintersci_la_macro_DATA) \
+DATA = $(libintersci_la_etc_DATA) $(libintersci_la_macro_DATA) \
        $(libintersci_la_root_DATA)
 ETAGS = etags
 CTAGS = ctags
@@ -292,20 +293,26 @@ libintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start
 
 #### intersci : documentation FR #### 
 libintersci_la_helpfrdir = $(target)/help/fr
-libintersci_la_helpfr_DATA = help/fr/whatis.htm \
-help/fr/intersci.htm
-
+libintersci_la_helpfr_DATA2 = help/fr/whatis.htm
 
 #### intersci : documentation EN #### 
 libintersci_la_helpendir = $(target)/help/eng
-libintersci_la_helpen_DATA = help/eng/whatis.htm \
+libintersci_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/intersci.htm
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -634,40 +641,6 @@ uninstall-libintersci_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libintersci_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libintersci_la_etcdir)/$$f"; \
        done
-install-libintersci_la_helpenDATA: $(libintersci_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libintersci_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libintersci_la_helpendir)"
-       @list='$(libintersci_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libintersci_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libintersci_la_helpendir)/$$f'"; \
-         $(libintersci_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libintersci_la_helpendir)/$$f"; \
-       done
-
-uninstall-libintersci_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libintersci_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libintersci_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libintersci_la_helpendir)/$$f"; \
-       done
-install-libintersci_la_helpfrDATA: $(libintersci_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libintersci_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libintersci_la_helpfrdir)"
-       @list='$(libintersci_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libintersci_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libintersci_la_helpfrdir)/$$f'"; \
-         $(libintersci_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libintersci_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libintersci_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libintersci_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libintersci_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libintersci_la_helpfrdir)/$$f"; \
-       done
 install-libintersci_la_macroDATA: $(libintersci_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libintersci_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libintersci_la_macrodir)"
@@ -783,7 +756,7 @@ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA)
 install-binPROGRAMS: install-libLTLIBRARIES
 
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libintersci_la_etcdir)" "$(DESTDIR)$(libintersci_la_helpendir)" "$(DESTDIR)$(libintersci_la_helpfrdir)" "$(DESTDIR)$(libintersci_la_macrodir)" "$(DESTDIR)$(libintersci_la_rootdir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libintersci_la_etcdir)" "$(DESTDIR)$(libintersci_la_macrodir)" "$(DESTDIR)$(libintersci_la_rootdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -832,8 +805,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libintersci_la_etcDATA \
-       install-libintersci_la_helpenDATA \
-       install-libintersci_la_helpfrDATA \
        install-libintersci_la_macroDATA \
        install-libintersci_la_rootDATA
 
@@ -843,6 +814,8 @@ install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -873,8 +846,6 @@ ps-am:
 
 uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES \
        uninstall-libintersci_la_etcDATA \
-       uninstall-libintersci_la_helpenDATA \
-       uninstall-libintersci_la_helpfrDATA \
        uninstall-libintersci_la_macroDATA \
        uninstall-libintersci_la_rootDATA
 
@@ -887,10 +858,8 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES \
        html-am info info-am install install-am install-binPROGRAMS \
        install-data install-data-am install-dvi install-dvi-am \
        install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am install-libLTLIBRARIES \
-       install-libintersci_la_etcDATA \
-       install-libintersci_la_helpenDATA \
-       install-libintersci_la_helpfrDATA \
+       install-html-local install-info install-info-am \
+       install-libLTLIBRARIES install-libintersci_la_etcDATA \
        install-libintersci_la_macroDATA \
        install-libintersci_la_rootDATA install-man install-pdf \
        install-pdf-am install-ps install-ps-am install-strip \
@@ -899,11 +868,49 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-binPROGRAMS \
        uninstall-libLTLIBRARIES uninstall-libintersci_la_etcDATA \
-       uninstall-libintersci_la_helpenDATA \
-       uninstall-libintersci_la_helpfrDATA \
        uninstall-libintersci_la_macroDATA \
        uninstall-libintersci_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 5948958..47d6ac5 100644 (file)
@@ -142,7 +142,7 @@ libio_la_sci_gateway_DATA = sci_gateway/io
 
 #### io : documentation FR #### 
 libio_la_helpfrdir = $(target)/help/fr
-libio_la_helpfr_DATA = help/fr/fileinfo.htm \
+libio_la_helpfr_DATA2 = help/fr/fileinfo.htm \
 help/fr/disp.htm \
 help/fr/keyboard.htm \
 help/fr/file.htm \
@@ -186,7 +186,7 @@ help/fr/unix_x.htm
 
 #### io : documentation EN #### 
 libio_la_helpendir = $(target)/help/eng
-libio_la_helpen_DATA = help/eng/whatis.htm \
+libio_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/fileinfo.htm \
 help/eng/deff.htm \
 help/eng/diary.htm \
@@ -233,3 +233,4 @@ libio_la_includedir=$(includedir)/io
 libio_la_include_HEADERS = includes/sci_getrelativefilename.h \
 includes/gw_io.h
 
+include $(top_srcdir)/Makefile.incl.am
index 7ac9b93..5d785a5 100644 (file)
@@ -39,9 +39,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/io
 DIST_COMMON = $(libio_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/io
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -62,8 +62,6 @@ am__vpath_adj = case $$p in \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libio_la_etcdir)" \
-       "$(DESTDIR)$(libio_la_helpendir)" \
-       "$(DESTDIR)$(libio_la_helpfrdir)" \
        "$(DESTDIR)$(libio_la_macrodir)" \
        "$(DESTDIR)$(libio_la_rootdir)" \
        "$(DESTDIR)$(libio_la_sci_gatewaydir)" \
@@ -129,13 +127,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libdummy_io_la_SOURCES) $(libio_la_SOURCES)
 DIST_SOURCES = $(libdummy_io_la_SOURCES) $(libio_la_SOURCES)
 libio_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libio_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libio_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libio_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libio_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libio_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libio_la_etc_DATA) $(libio_la_helpen_DATA) \
-       $(libio_la_helpfr_DATA) $(libio_la_macro_DATA) \
+DATA = $(libio_la_etc_DATA) $(libio_la_macro_DATA) \
        $(libio_la_root_DATA) $(libio_la_sci_gateway_DATA)
 libio_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(libio_la_include_HEADERS)
@@ -410,7 +405,7 @@ libio_la_sci_gateway_DATA = sci_gateway/io
 
 #### io : documentation FR #### 
 libio_la_helpfrdir = $(target)/help/fr
-libio_la_helpfr_DATA = help/fr/fileinfo.htm \
+libio_la_helpfr_DATA2 = help/fr/fileinfo.htm \
 help/fr/disp.htm \
 help/fr/keyboard.htm \
 help/fr/file.htm \
@@ -454,7 +449,7 @@ help/fr/unix_x.htm
 
 #### io : documentation EN #### 
 libio_la_helpendir = $(target)/help/eng
-libio_la_helpen_DATA = help/eng/whatis.htm \
+libio_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/fileinfo.htm \
 help/eng/deff.htm \
 help/eng/diary.htm \
@@ -501,11 +496,19 @@ libio_la_includedir = $(includedir)/io
 libio_la_include_HEADERS = includes/sci_getrelativefilename.h \
 includes/gw_io.h
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -1002,40 +1005,6 @@ uninstall-libio_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libio_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libio_la_etcdir)/$$f"; \
        done
-install-libio_la_helpenDATA: $(libio_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libio_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libio_la_helpendir)"
-       @list='$(libio_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libio_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libio_la_helpendir)/$$f'"; \
-         $(libio_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libio_la_helpendir)/$$f"; \
-       done
-
-uninstall-libio_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libio_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libio_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libio_la_helpendir)/$$f"; \
-       done
-install-libio_la_helpfrDATA: $(libio_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libio_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libio_la_helpfrdir)"
-       @list='$(libio_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libio_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libio_la_helpfrdir)/$$f'"; \
-         $(libio_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libio_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libio_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libio_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libio_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libio_la_helpfrdir)/$$f"; \
-       done
 install-libio_la_macroDATA: $(libio_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libio_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libio_la_macrodir)"
@@ -1183,7 +1152,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libio_la_etcdir)" "$(DESTDIR)$(libio_la_helpendir)" "$(DESTDIR)$(libio_la_helpfrdir)" "$(DESTDIR)$(libio_la_macrodir)" "$(DESTDIR)$(libio_la_rootdir)" "$(DESTDIR)$(libio_la_sci_gatewaydir)" "$(DESTDIR)$(libio_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libio_la_etcdir)" "$(DESTDIR)$(libio_la_macrodir)" "$(DESTDIR)$(libio_la_rootdir)" "$(DESTDIR)$(libio_la_sci_gatewaydir)" "$(DESTDIR)$(libio_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -1231,10 +1200,9 @@ info: info-am
 
 info-am:
 
-install-data-am: install-libio_la_etcDATA install-libio_la_helpenDATA \
-       install-libio_la_helpfrDATA install-libio_la_includeHEADERS \
-       install-libio_la_macroDATA install-libio_la_rootDATA \
-       install-libio_la_sci_gatewayDATA
+install-data-am: install-libio_la_etcDATA \
+       install-libio_la_includeHEADERS install-libio_la_macroDATA \
+       install-libio_la_rootDATA install-libio_la_sci_gatewayDATA
 
 install-dvi: install-dvi-am
 
@@ -1242,6 +1210,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1271,7 +1241,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libio_la_etcDATA \
-       uninstall-libio_la_helpenDATA uninstall-libio_la_helpfrDATA \
        uninstall-libio_la_includeHEADERS uninstall-libio_la_macroDATA \
        uninstall-libio_la_rootDATA uninstall-libio_la_sci_gatewayDATA
 
@@ -1283,25 +1252,64 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libio_la_etcDATA \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-libLTLIBRARIES \
-       install-libio_la_etcDATA install-libio_la_helpenDATA \
-       install-libio_la_helpfrDATA install-libio_la_includeHEADERS \
-       install-libio_la_macroDATA install-libio_la_rootDATA \
-       install-libio_la_sci_gatewayDATA install-man install-pdf \
-       install-pdf-am install-ps install-ps-am install-strip \
-       installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-libLTLIBRARIES \
-       uninstall-libio_la_etcDATA uninstall-libio_la_helpenDATA \
-       uninstall-libio_la_helpfrDATA \
-       uninstall-libio_la_includeHEADERS uninstall-libio_la_macroDATA \
-       uninstall-libio_la_rootDATA uninstall-libio_la_sci_gatewayDATA
+       install-exec-am install-html install-html-am \
+       install-html-local install-info install-info-am \
+       install-libLTLIBRARIES install-libio_la_etcDATA \
+       install-libio_la_includeHEADERS install-libio_la_macroDATA \
+       install-libio_la_rootDATA install-libio_la_sci_gatewayDATA \
+       install-man install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+       uninstall-am uninstall-libLTLIBRARIES \
+       uninstall-libio_la_etcDATA uninstall-libio_la_includeHEADERS \
+       uninstall-libio_la_macroDATA uninstall-libio_la_rootDATA \
+       uninstall-libio_la_sci_gatewayDATA
 
 
 libdummy_io_la-intmgetl.lo: sci_gateway/fortran/intmgetl.f
        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_io_la_FFLAGS) -c -o libdummy_io_la-intmgetl.lo `test -f 'sci_gateway/fortran/intmgetl.f' || echo '$(srcdir)/'`sci_gateway/fortran/intmgetl.f
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 2444a57..3d11044 100644 (file)
@@ -23,7 +23,7 @@ libjavasci_la_etc_DATA = etc/javasci.quit etc/javasci.start
 
 #### javasci : documentation FR #### 
 libjavasci_la_helpfrdir = $(target)/help/fr
-libjavasci_la_helpfr_DATA = help/fr/SciComplex.htm \
+libjavasci_la_helpfr_DATA2 = help/fr/SciComplex.htm \
 help/fr/SciDouble.htm \
 help/fr/Scilab.htm \
 help/fr/SciString.htm \
@@ -36,7 +36,7 @@ help/fr/SciDoubleArray.htm
 
 #### javasci : documentation EN #### 
 libjavasci_la_helpendir = $(target)/help/eng
-libjavasci_la_helpen_DATA = help/eng/whatis.htm \
+libjavasci_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/javasci.htm \
 help/eng/Scilab.htm \
 help/eng/SciComplexArray.htm \
@@ -56,3 +56,4 @@ includes/javasci_SciStringArray.h \
 includes/javasci_SciComplexArray.h \
 includes/javasci_SciDoubleArray.h
 
+include $(top_srcdir)/Makefile.incl.am
index cd0c03c..b772dcb 100644 (file)
@@ -38,9 +38,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/javasci
 DIST_COMMON = $(libjavasci_la_include_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
+subdir = modules/javasci
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,18 +63,13 @@ am__vpath_adj = case $$p in \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libjavasci_la_etcdir)" \
-       "$(DESTDIR)$(libjavasci_la_helpendir)" \
-       "$(DESTDIR)$(libjavasci_la_helpfrdir)" \
        "$(DESTDIR)$(libjavasci_la_macrodir)" \
        "$(DESTDIR)$(libjavasci_la_rootdir)" \
        "$(DESTDIR)$(libjavasci_la_includedir)"
 libjavasci_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libjavasci_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libjavasci_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libjavasci_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libjavasci_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libjavasci_la_etc_DATA) $(libjavasci_la_helpen_DATA) \
-       $(libjavasci_la_helpfr_DATA) $(libjavasci_la_macro_DATA) \
+DATA = $(libjavasci_la_etc_DATA) $(libjavasci_la_macro_DATA) \
        $(libjavasci_la_root_DATA)
 libjavasci_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(libjavasci_la_include_HEADERS)
@@ -239,7 +234,7 @@ libjavasci_la_etc_DATA = etc/javasci.quit etc/javasci.start
 
 #### javasci : documentation FR #### 
 libjavasci_la_helpfrdir = $(target)/help/fr
-libjavasci_la_helpfr_DATA = help/fr/SciComplex.htm \
+libjavasci_la_helpfr_DATA2 = help/fr/SciComplex.htm \
 help/fr/SciDouble.htm \
 help/fr/Scilab.htm \
 help/fr/SciString.htm \
@@ -252,7 +247,7 @@ help/fr/SciDoubleArray.htm
 
 #### javasci : documentation EN #### 
 libjavasci_la_helpendir = $(target)/help/eng
-libjavasci_la_helpen_DATA = help/eng/whatis.htm \
+libjavasci_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/javasci.htm \
 help/eng/Scilab.htm \
 help/eng/SciComplexArray.htm \
@@ -272,10 +267,19 @@ includes/javasci_SciStringArray.h \
 includes/javasci_SciComplexArray.h \
 includes/javasci_SciDoubleArray.h
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -327,40 +331,6 @@ uninstall-libjavasci_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libjavasci_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libjavasci_la_etcdir)/$$f"; \
        done
-install-libjavasci_la_helpenDATA: $(libjavasci_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libjavasci_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libjavasci_la_helpendir)"
-       @list='$(libjavasci_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libjavasci_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libjavasci_la_helpendir)/$$f'"; \
-         $(libjavasci_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libjavasci_la_helpendir)/$$f"; \
-       done
-
-uninstall-libjavasci_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libjavasci_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libjavasci_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libjavasci_la_helpendir)/$$f"; \
-       done
-install-libjavasci_la_helpfrDATA: $(libjavasci_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libjavasci_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libjavasci_la_helpfrdir)"
-       @list='$(libjavasci_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libjavasci_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libjavasci_la_helpfrdir)/$$f'"; \
-         $(libjavasci_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libjavasci_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libjavasci_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libjavasci_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libjavasci_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libjavasci_la_helpfrdir)/$$f"; \
-       done
 install-libjavasci_la_macroDATA: $(libjavasci_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libjavasci_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libjavasci_la_macrodir)"
@@ -491,7 +461,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libjavasci_la_etcdir)" "$(DESTDIR)$(libjavasci_la_helpendir)" "$(DESTDIR)$(libjavasci_la_helpfrdir)" "$(DESTDIR)$(libjavasci_la_macrodir)" "$(DESTDIR)$(libjavasci_la_rootdir)" "$(DESTDIR)$(libjavasci_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libjavasci_la_etcdir)" "$(DESTDIR)$(libjavasci_la_macrodir)" "$(DESTDIR)$(libjavasci_la_rootdir)" "$(DESTDIR)$(libjavasci_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -537,8 +507,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libjavasci_la_etcDATA \
-       install-libjavasci_la_helpenDATA \
-       install-libjavasci_la_helpfrDATA \
        install-libjavasci_la_includeHEADERS \
        install-libjavasci_la_macroDATA install-libjavasci_la_rootDATA
 
@@ -548,6 +516,8 @@ install-exec-am:
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -575,8 +545,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libjavasci_la_etcDATA \
-       uninstall-libjavasci_la_helpenDATA \
-       uninstall-libjavasci_la_helpfrDATA \
        uninstall-libjavasci_la_includeHEADERS \
        uninstall-libjavasci_la_macroDATA \
        uninstall-libjavasci_la_rootDATA
@@ -588,10 +556,9 @@ uninstall-am: uninstall-libjavasci_la_etcDATA \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-libjavasci_la_etcDATA \
-       install-libjavasci_la_helpenDATA \
-       install-libjavasci_la_helpfrDATA \
+       install-exec-am install-html install-html-am \
+       install-html-local install-info install-info-am \
+       install-libjavasci_la_etcDATA \
        install-libjavasci_la_includeHEADERS \
        install-libjavasci_la_macroDATA install-libjavasci_la_rootDATA \
        install-man install-pdf install-pdf-am install-ps \
@@ -600,12 +567,50 @@ uninstall-am: uninstall-libjavasci_la_etcDATA \
        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
        ps ps-am tags uninstall uninstall-am \
        uninstall-libjavasci_la_etcDATA \
-       uninstall-libjavasci_la_helpenDATA \
-       uninstall-libjavasci_la_helpfrDATA \
        uninstall-libjavasci_la_includeHEADERS \
        uninstall-libjavasci_la_macroDATA \
        uninstall-libjavasci_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 1551232..0e7d7cb 100644 (file)
@@ -41,10 +41,11 @@ libjvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
 
 #### jvm : documentation FR #### 
 libjvm_la_helpfrdir = $(target)/help/fr
-libjvm_la_helpfr_DATA = 
+libjvm_la_helpfr_DATA2 = 
 
 
 #### jvm : documentation EN #### 
 libjvm_la_helpendir = $(target)/help/eng
-libjvm_la_helpen_DATA = 
+libjvm_la_helpen_DATA2 = 
 
+include $(top_srcdir)/Makefile.incl.am
index b0cca02..21b9d79 100644 (file)
@@ -38,8 +38,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/jvm
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -61,8 +62,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(libjvm_la_etcdir)" \
-       "$(DESTDIR)$(libjvm_la_helpendir)" \
-       "$(DESTDIR)$(libjvm_la_helpfrdir)" \
        "$(DESTDIR)$(libjvm_la_macrodir)" \
        "$(DESTDIR)$(libjvm_la_rootdir)"
 libLTLIBRARIES_INSTALL = $(INSTALL)
@@ -90,12 +89,9 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(libscijvm_la_SOURCES)
 DIST_SOURCES = $(libscijvm_la_SOURCES)
 libjvm_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libjvm_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libjvm_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libjvm_la_macroDATA_INSTALL = $(INSTALL_DATA)
 libjvm_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(libjvm_la_etc_DATA) $(libjvm_la_helpen_DATA) \
-       $(libjvm_la_helpfr_DATA) $(libjvm_la_macro_DATA) \
+DATA = $(libjvm_la_etc_DATA) $(libjvm_la_macro_DATA) \
        $(libjvm_la_root_DATA)
 ETAGS = etags
 CTAGS = ctags
@@ -270,16 +266,24 @@ libjvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
 
 #### jvm : documentation FR #### 
 libjvm_la_helpfrdir = $(target)/help/fr
-libjvm_la_helpfr_DATA = 
+libjvm_la_helpfr_DATA2 = 
 
 #### jvm : documentation EN #### 
 libjvm_la_helpendir = $(target)/help/eng
-libjvm_la_helpen_DATA = 
+libjvm_la_helpen_DATA2 = 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -412,40 +416,6 @@ uninstall-libjvm_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libjvm_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libjvm_la_etcdir)/$$f"; \
        done
-install-libjvm_la_helpenDATA: $(libjvm_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libjvm_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libjvm_la_helpendir)"
-       @list='$(libjvm_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libjvm_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libjvm_la_helpendir)/$$f'"; \
-         $(libjvm_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libjvm_la_helpendir)/$$f"; \
-       done
-
-uninstall-libjvm_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libjvm_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libjvm_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libjvm_la_helpendir)/$$f"; \
-       done
-install-libjvm_la_helpfrDATA: $(libjvm_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libjvm_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libjvm_la_helpfrdir)"
-       @list='$(libjvm_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libjvm_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libjvm_la_helpfrdir)/$$f'"; \
-         $(libjvm_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libjvm_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libjvm_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libjvm_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libjvm_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libjvm_la_helpfrdir)/$$f"; \
-       done
 install-libjvm_la_macroDATA: $(libjvm_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libjvm_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(libjvm_la_macrodir)"
@@ -559,7 +529,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libjvm_la_etcdir)" "$(DESTDIR)$(libjvm_la_helpendir)" "$(DESTDIR)$(libjvm_la_helpfrdir)" "$(DESTDIR)$(libjvm_la_macrodir)" "$(DESTDIR)$(libjvm_la_rootdir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libjvm_la_etcdir)" "$(DESTDIR)$(libjvm_la_macrodir)" "$(DESTDIR)$(libjvm_la_rootdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -607,9 +577,8 @@ info: info-am
 
 info-am:
 
-install-data-am: install-libjvm_la_etcDATA \
-       install-libjvm_la_helpenDATA install-libjvm_la_helpfrDATA \
-       install-libjvm_la_macroDATA install-libjvm_la_rootDATA
+install-data-am: install-libjvm_la_etcDATA install-libjvm_la_macroDATA \
+       install-libjvm_la_rootDATA
 
 install-dvi: install-dvi-am
 
@@ -617,6 +586,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -646,7 +617,6 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES uninstall-libjvm_la_etcDATA \
-       uninstall-libjvm_la_helpenDATA uninstall-libjvm_la_helpfrDATA \
        uninstall-libjvm_la_macroDATA uninstall-libjvm_la_rootDATA
 
 .MAKE: install-am install-strip
@@ -657,20 +627,58 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-libjvm_la_etcDATA \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-libjvm_la_etcDATA \
-       install-libjvm_la_helpenDATA install-libjvm_la_helpfrDATA \
-       install-libjvm_la_macroDATA install-libjvm_la_rootDATA \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-libLTLIBRARIES \
-       uninstall-libjvm_la_etcDATA uninstall-libjvm_la_helpenDATA \
-       uninstall-libjvm_la_helpfrDATA uninstall-libjvm_la_macroDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-libjvm_la_etcDATA install-libjvm_la_macroDATA \
+       install-libjvm_la_rootDATA install-man install-pdf \
+       install-pdf-am install-ps install-ps-am install-strip \
+       installcheck installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       tags uninstall uninstall-am uninstall-libLTLIBRARIES \
+       uninstall-libjvm_la_etcDATA uninstall-libjvm_la_macroDATA \
        uninstall-libjvm_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 9f4d82c..a41143b 100644 (file)
@@ -219,7 +219,7 @@ liblinear_algebra_la_sci_gateway_DATA = sci_gateway/linear_algebra
 
 #### linear_algebra : documentation FR #### 
 liblinear_algebra_la_helpfrdir = $(target)/help/fr
-liblinear_algebra_la_helpfr_DATA = help/fr/eigenmarkov.htm \
+liblinear_algebra_la_helpfr_DATA2 = help/fr/eigenmarkov.htm \
 help/fr/ereduc.htm \
 help/fr/fstair.htm \
 help/fr/genmarkov.htm \
@@ -288,7 +288,7 @@ help/fr/trace.htm
 
 #### linear_algebra : documentation EN #### 
 liblinear_algebra_la_helpendir = $(target)/help/eng
-liblinear_algebra_la_helpen_DATA = help/eng/whatis.htm \
+liblinear_algebra_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/linsolve.htm \
 help/eng/aff2ab.htm \
 help/eng/balanc.htm \
@@ -360,3 +360,4 @@ liblinear_algebra_la_includedir=$(includedir)/linear_algebra
 liblinear_algebra_la_include_HEADERS = includes/gw_linear_algebra.h \
 includes/gw_linear_algebra2.h
 
+include $(top_srcdir)/Makefile.incl.am
index ae320c5..96a0ecd 100644 (file)
@@ -39,9 +39,10 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/linear_algebra
 DIST_COMMON = $(liblinear_algebra_la_include_HEADERS) \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
+subdir = modules/linear_algebra
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +64,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(liblinear_algebra_la_etcdir)" \
-       "$(DESTDIR)$(liblinear_algebra_la_helpendir)" \
-       "$(DESTDIR)$(liblinear_algebra_la_helpfrdir)" \
        "$(DESTDIR)$(liblinear_algebra_la_macrodir)" \
        "$(DESTDIR)$(liblinear_algebra_la_rootdir)" \
        "$(DESTDIR)$(liblinear_algebra_la_sci_gatewaydir)" \
@@ -131,14 +130,10 @@ F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(liblinear_algebra_la_SOURCES)
 DIST_SOURCES = $(liblinear_algebra_la_SOURCES)
 liblinear_algebra_la_etcDATA_INSTALL = $(INSTALL_DATA)
-liblinear_algebra_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-liblinear_algebra_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 liblinear_algebra_la_macroDATA_INSTALL = $(INSTALL_DATA)
 liblinear_algebra_la_rootDATA_INSTALL = $(INSTALL_DATA)
 liblinear_algebra_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(liblinear_algebra_la_etc_DATA) \
-       $(liblinear_algebra_la_helpen_DATA) \
-       $(liblinear_algebra_la_helpfr_DATA) \
        $(liblinear_algebra_la_macro_DATA) \
        $(liblinear_algebra_la_root_DATA) \
        $(liblinear_algebra_la_sci_gateway_DATA)
@@ -497,7 +492,7 @@ liblinear_algebra_la_sci_gateway_DATA = sci_gateway/linear_algebra
 
 #### linear_algebra : documentation FR #### 
 liblinear_algebra_la_helpfrdir = $(target)/help/fr
-liblinear_algebra_la_helpfr_DATA = help/fr/eigenmarkov.htm \
+liblinear_algebra_la_helpfr_DATA2 = help/fr/eigenmarkov.htm \
 help/fr/ereduc.htm \
 help/fr/fstair.htm \
 help/fr/genmarkov.htm \
@@ -566,7 +561,7 @@ help/fr/trace.htm
 
 #### linear_algebra : documentation EN #### 
 liblinear_algebra_la_helpendir = $(target)/help/eng
-liblinear_algebra_la_helpen_DATA = help/eng/whatis.htm \
+liblinear_algebra_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/linsolve.htm \
 help/eng/aff2ab.htm \
 help/eng/balanc.htm \
@@ -638,11 +633,19 @@ liblinear_algebra_la_includedir = $(includedir)/linear_algebra
 liblinear_algebra_la_include_HEADERS = includes/gw_linear_algebra.h \
 includes/gw_linear_algebra2.h
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .f .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .f .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -1076,40 +1079,6 @@ uninstall-liblinear_algebra_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(liblinear_algebra_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(liblinear_algebra_la_etcdir)/$$f"; \
        done
-install-liblinear_algebra_la_helpenDATA: $(liblinear_algebra_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(liblinear_algebra_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(liblinear_algebra_la_helpendir)"
-       @list='$(liblinear_algebra_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(liblinear_algebra_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(liblinear_algebra_la_helpendir)/$$f'"; \
-         $(liblinear_algebra_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(liblinear_algebra_la_helpendir)/$$f"; \
-       done
-
-uninstall-liblinear_algebra_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(liblinear_algebra_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(liblinear_algebra_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(liblinear_algebra_la_helpendir)/$$f"; \
-       done
-install-liblinear_algebra_la_helpfrDATA: $(liblinear_algebra_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(liblinear_algebra_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(liblinear_algebra_la_helpfrdir)"
-       @list='$(liblinear_algebra_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(liblinear_algebra_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(liblinear_algebra_la_helpfrdir)/$$f'"; \
-         $(liblinear_algebra_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(liblinear_algebra_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-liblinear_algebra_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(liblinear_algebra_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(liblinear_algebra_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(liblinear_algebra_la_helpfrdir)/$$f"; \
-       done
 install-liblinear_algebra_la_macroDATA: $(liblinear_algebra_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(liblinear_algebra_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(liblinear_algebra_la_macrodir)"
@@ -1257,7 +1226,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(liblinear_algebra_la_etcdir)" "$(DESTDIR)$(liblinear_algebra_la_helpendir)" "$(DESTDIR)$(liblinear_algebra_la_helpfrdir)" "$(DESTDIR)$(liblinear_algebra_la_macrodir)" "$(DESTDIR)$(liblinear_algebra_la_rootdir)" "$(DESTDIR)$(liblinear_algebra_la_sci_gatewaydir)" "$(DESTDIR)$(liblinear_algebra_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(liblinear_algebra_la_etcdir)" "$(DESTDIR)$(liblinear_algebra_la_macrodir)" "$(DESTDIR)$(liblinear_algebra_la_rootdir)" "$(DESTDIR)$(liblinear_algebra_la_sci_gatewaydir)" "$(DESTDIR)$(liblinear_algebra_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -1306,8 +1275,6 @@ info: info-am
 info-am:
 
 install-data-am: install-liblinear_algebra_la_etcDATA \
-       install-liblinear_algebra_la_helpenDATA \
-       install-liblinear_algebra_la_helpfrDATA \
        install-liblinear_algebra_la_includeHEADERS \
        install-liblinear_algebra_la_macroDATA \
        install-liblinear_algebra_la_rootDATA \
@@ -1319,6 +1286,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -1349,8 +1318,6 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-liblinear_algebra_la_etcDATA \
-       uninstall-liblinear_algebra_la_helpenDATA \
-       uninstall-liblinear_algebra_la_helpfrDATA \
        uninstall-liblinear_algebra_la_includeHEADERS \
        uninstall-liblinear_algebra_la_macroDATA \
        uninstall-liblinear_algebra_la_rootDATA \
@@ -1364,10 +1331,9 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-liblinear_algebra_la_etcDATA \
-       install-liblinear_algebra_la_helpenDATA \
-       install-liblinear_algebra_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-liblinear_algebra_la_etcDATA \
        install-liblinear_algebra_la_includeHEADERS \
        install-liblinear_algebra_la_macroDATA \
        install-liblinear_algebra_la_rootDATA \
@@ -1379,13 +1345,51 @@ uninstall-am: uninstall-libLTLIBRARIES \
        pdf pdf-am ps ps-am tags uninstall uninstall-am \
        uninstall-libLTLIBRARIES \
        uninstall-liblinear_algebra_la_etcDATA \
-       uninstall-liblinear_algebra_la_helpenDATA \
-       uninstall-liblinear_algebra_la_helpfrDATA \
        uninstall-liblinear_algebra_la_includeHEADERS \
        uninstall-liblinear_algebra_la_macroDATA \
        uninstall-liblinear_algebra_la_rootDATA \
        uninstall-liblinear_algebra_la_sci_gatewayDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index ed78af8..0cbe5a6 100644 (file)
@@ -39,14 +39,14 @@ liblocalization_la_etc_DATA = etc/localization.quit etc/localization.start
 
 #### localization : documentation FR #### 
 liblocalization_la_helpfrdir = $(target)/help/fr
-liblocalization_la_helpfr_DATA = help/fr/whatis.htm \
+liblocalization_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/language.htm \
 help/fr/setlanguage.htm
 
 
 #### localization : documentation EN #### 
 liblocalization_la_helpendir = $(target)/help/eng
-liblocalization_la_helpen_DATA = help/eng/whatis.htm \
+liblocalization_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/language.htm \
 help/eng/setlanguage.htm
 
@@ -55,3 +55,4 @@ help/eng/setlanguage.htm
 liblocalization_la_includedir=$(includedir)/localization
 liblocalization_la_include_HEADERS = includes/localization.h
 
+include $(top_srcdir)/Makefile.incl.am
index ae12927..7956a51 100644 (file)
@@ -39,9 +39,10 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-subdir = modules/localization
 DIST_COMMON = $(liblocalization_la_include_HEADERS) \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
+subdir = modules/localization
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -63,8 +64,6 @@ am__vpath_adj = case $$p in \
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libdir)" \
        "$(DESTDIR)$(liblocalization_la_etcdir)" \
-       "$(DESTDIR)$(liblocalization_la_helpendir)" \
-       "$(DESTDIR)$(liblocalization_la_helpfrdir)" \
        "$(DESTDIR)$(liblocalization_la_macrodir)" \
        "$(DESTDIR)$(liblocalization_la_rootdir)" \
        "$(DESTDIR)$(liblocalization_la_includedir)"
@@ -96,14 +95,9 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 SOURCES = $(liblocalization_la_SOURCES)
 DIST_SOURCES = $(liblocalization_la_SOURCES)
 liblocalization_la_etcDATA_INSTALL = $(INSTALL_DATA)
-liblocalization_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-liblocalization_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 liblocalization_la_macroDATA_INSTALL = $(INSTALL_DATA)
 liblocalization_la_rootDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(liblocalization_la_etc_DATA) \
-       $(liblocalization_la_helpen_DATA) \
-       $(liblocalization_la_helpfr_DATA) \
-       $(liblocalization_la_macro_DATA) \
+DATA = $(liblocalization_la_etc_DATA) $(liblocalization_la_macro_DATA) \
        $(liblocalization_la_root_DATA)
 liblocalization_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(liblocalization_la_include_HEADERS)
@@ -279,14 +273,14 @@ liblocalization_la_etc_DATA = etc/localization.quit etc/localization.start
 
 #### localization : documentation FR #### 
 liblocalization_la_helpfrdir = $(target)/help/fr
-liblocalization_la_helpfr_DATA = help/fr/whatis.htm \
+liblocalization_la_helpfr_DATA2 = help/fr/whatis.htm \
 help/fr/language.htm \
 help/fr/setlanguage.htm
 
 
 #### localization : documentation EN #### 
 liblocalization_la_helpendir = $(target)/help/eng
-liblocalization_la_helpen_DATA = help/eng/whatis.htm \
+liblocalization_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/language.htm \
 help/eng/setlanguage.htm
 
@@ -294,11 +288,19 @@ help/eng/setlanguage.htm
 #### localization : include files ####
 liblocalization_la_includedir = $(includedir)/localization
 liblocalization_la_include_HEADERS = includes/localization.h
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -423,40 +425,6 @@ uninstall-liblocalization_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(liblocalization_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(liblocalization_la_etcdir)/$$f"; \
        done
-install-liblocalization_la_helpenDATA: $(liblocalization_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(liblocalization_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(liblocalization_la_helpendir)"
-       @list='$(liblocalization_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(liblocalization_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(liblocalization_la_helpendir)/$$f'"; \
-         $(liblocalization_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(liblocalization_la_helpendir)/$$f"; \
-       done
-
-uninstall-liblocalization_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(liblocalization_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(liblocalization_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(liblocalization_la_helpendir)/$$f"; \
-       done
-install-liblocalization_la_helpfrDATA: $(liblocalization_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(liblocalization_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(liblocalization_la_helpfrdir)"
-       @list='$(liblocalization_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(liblocalization_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(liblocalization_la_helpfrdir)/$$f'"; \
-         $(liblocalization_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(liblocalization_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-liblocalization_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(liblocalization_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(liblocalization_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(liblocalization_la_helpfrdir)/$$f"; \
-       done
 install-liblocalization_la_macroDATA: $(liblocalization_la_macro_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(liblocalization_la_macrodir)" || $(MKDIR_P) "$(DESTDIR)$(liblocalization_la_macrodir)"
@@ -587,7 +555,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
 installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(liblocalization_la_etcdir)" "$(DESTDIR)$(liblocalization_la_helpendir)" "$(DESTDIR)$(liblocalization_la_helpfrdir)" "$(DESTDIR)$(liblocalization_la_macrodir)" "$(DESTDIR)$(liblocalization_la_rootdir)" "$(DESTDIR)$(liblocalization_la_includedir)"; do \
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(liblocalization_la_etcdir)" "$(DESTDIR)$(liblocalization_la_macrodir)" "$(DESTDIR)$(liblocalization_la_rootdir)" "$(DESTDIR)$(liblocalization_la_includedir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -636,8 +604,6 @@ info: info-am
 info-am:
 
 install-data-am: install-liblocalization_la_etcDATA \
-       install-liblocalization_la_helpenDATA \
-       install-liblocalization_la_helpfrDATA \
        install-liblocalization_la_includeHEADERS \
        install-liblocalization_la_macroDATA \
        install-liblocalization_la_rootDATA
@@ -648,6 +614,8 @@ install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 install-info: install-info-am
 
 install-man:
@@ -678,8 +646,6 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES \
        uninstall-liblocalization_la_etcDATA \
-       uninstall-liblocalization_la_helpenDATA \
-       uninstall-liblocalization_la_helpfrDATA \
        uninstall-liblocalization_la_includeHEADERS \
        uninstall-liblocalization_la_macroDATA \
        uninstall-liblocalization_la_rootDATA
@@ -692,10 +658,9 @@ uninstall-am: uninstall-libLTLIBRARIES \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am \
-       install-libLTLIBRARIES install-liblocalization_la_etcDATA \
-       install-liblocalization_la_helpenDATA \
-       install-liblocalization_la_helpfrDATA \
+       install-html-am install-html-local install-info \
+       install-info-am install-libLTLIBRARIES \
+       install-liblocalization_la_etcDATA \
        install-liblocalization_la_includeHEADERS \
        install-liblocalization_la_macroDATA \
        install-liblocalization_la_rootDATA install-man install-pdf \
@@ -705,12 +670,50 @@ uninstall-am: uninstall-libLTLIBRARIES \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags uninstall uninstall-am uninstall-libLTLIBRARIES \
        uninstall-liblocalization_la_etcDATA \
-       uninstall-liblocalization_la_helpenDATA \
-       uninstall-liblocalization_la_helpfrDATA \
        uninstall-liblocalization_la_includeHEADERS \
        uninstall-liblocalization_la_macroDATA \
        uninstall-liblocalization_la_rootDATA
 
+
+#.xml.htm:
+#      @( if test ! -x $(top_builddir)/scilab-bin; then \
+#      echo "Error : Cannot build $< : Scilab has not been build"; \
+#      else \
+#      echo "converted $< to $@"; \
+#      fi )
+
+.sci.bin:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "converted $< to $@"; \
+       $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       fi )
+
+macrossly:
+       @( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       LD_LIBRARY_PATH="$(JAVA_HOME)/jre/lib/i386/:$(JAVA_HOME)/jre/lib/i386/server/:$(JAVA_HOME)/jre/lib/i386/native_threads/:$LD_LIBRARY_PATH";      export LD_LIBRARY_PATH; \
+       SCI=`cd $(top_builddir); pwd;`; export SCI; \
+       echo $$SCI/modules/functions/macros/genlib.bin; \
+       if test ! -f $$SCI/modules/functions/macros/genlib.bin; then \
+       (cd $$SCI; $$SCI/scilab-bin -ns -nwni -f $$SCI/modules/functions/scripts/buildmacros/buildmacros.sce;) \
+       fi; \
+       echo $(top_builddir)/scilab-bin -ns -nwni -f macros/buildmacros.sce; \
+       $(top_builddir)/scilab-bin -nwni -f macros/buildmacros.sce; \
+       fi )
+install-html-local:
+       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
+       @for dir in $(DOCDIRS) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+               if test -f $(srcdir)/$$dir/$(DOCMASK); then \
+                 for file in $(srcdir)/$$dir/$(DOCMASK) ; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
+                 done ; \
+               fi; \
+       done
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
index 5c02d10..e97268f 100644 (file)
@@ -1149,7 +1149,7 @@ libm2sci_la_etc_DATA = etc/m2sci.quit etc/m2sci.start
 
 #### m2sci : documentation FR #### 
 libm2sci_la_helpfrdir = $(target)/help/fr
-libm2sci_la_helpfr_DATA = help/fr/asciimat.htm \
+libm2sci_la_helpfr_DATA2 = help/fr/asciimat.htm \
 help/fr/merror.htm \
 help/fr/m2scideclare.htm \
 help/fr/mtlb_sort.htm \
@@ -1271,7 +1271,7 @@ help/fr/Variable.htm
 
 #### m2sci : documentation EN #### 
 libm2sci_la_helpendir = $(target)/help/eng
-libm2sci_la_helpen_DATA = help/eng/whatis.htm \
+libm2sci_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/About_M2SCI_tools.htm \
 help/eng/asciimat.htm \
 help/eng/cell.htm \
@@ -1387,3 +1387,4 @@ help/eng/tree2code.htm \
 help/eng/Type.htm \
 help/eng/Variable.htm
 
+include $(top_srcdir)/Makefile.incl.am
index 9132d51..6c80967 100644 (file)
@@ -37,8 +37,9 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am
 subdir = modules/m2sci
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
        $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
@@ -61,17 +62,12 @@ am__vpath_adj = case $$p in \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(libm2sci_la_etcdir)" \
-       "$(DESTDIR)$(libm2sci_la_helpendir)" \
-       "$(DESTDIR)$(libm2sci_la_helpfrdir)" \
        "$(DESTDIR)$(libm2sci_la_rootdir)" \
        "$(DESTDIR)$(libm2sci_la_macrodir)"
 libm2sci_la_etcDATA_INSTALL = $(INSTALL_DATA)
-libm2sci_la_helpenDATA_INSTALL = $(INSTALL_DATA)
-libm2sci_la_helpfrDATA_INSTALL = $(INSTALL_DATA)
 libm2sci_la_rootDATA_INSTALL = $(INSTALL_DATA)
 nobase_libm2sci_la_macroDATA_INSTALL = $(install_sh_DATA)
-DATA = $(libm2sci_la_etc_DATA) $(libm2sci_la_helpen_DATA) \
-       $(libm2sci_la_helpfr_DATA) $(libm2sci_la_root_DATA) \
+DATA = $(libm2sci_la_etc_DATA) $(libm2sci_la_root_DATA) \
        $(nobase_libm2sci_la_macro_DATA)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
@@ -1358,7 +1354,7 @@ libm2sci_la_etc_DATA = etc/m2sci.quit etc/m2sci.start
 
 #### m2sci : documentation FR #### 
 libm2sci_la_helpfrdir = $(target)/help/fr
-libm2sci_la_helpfr_DATA = help/fr/asciimat.htm \
+libm2sci_la_helpfr_DATA2 = help/fr/asciimat.htm \
 help/fr/merror.htm \
 help/fr/m2scideclare.htm \
 help/fr/mtlb_sort.htm \
@@ -1480,7 +1476,7 @@ help/fr/Variable.htm
 
 #### m2sci : documentation EN #### 
 libm2sci_la_helpendir = $(target)/help/eng
-libm2sci_la_helpen_DATA = help/eng/whatis.htm \
+libm2sci_la_helpen_DATA2 = help/eng/whatis.htm \
 help/eng/About_M2SCI_tools.htm \
 help/eng/asciimat.htm \
 help/eng/cell.htm \
@@ -1596,10 +1592,19 @@ help/eng/tree2code.htm \
 help/eng/Type.htm \
 help/eng/Variable.htm
 
+
+#SUFFIXES = .xml .sci .htm
+SUFFIXES = .sci
+
+# Install HTML files
+pkgdocdir = $(target)
+DOCDIRS = help/fr help/eng
+DOCMASK = *.htm
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
@@ -1651,40 +1656,6 @@ uninstall-libm2sci_la_etcDATA:
          echo " rm -f '$(DESTDIR)$(libm2sci_la_etcdir)/$$f'"; \
          rm -f "$(DESTDIR)$(libm2sci_la_etcdir)/$$f"; \
        done
-install-libm2sci_la_helpenDATA: $(libm2sci_la_helpen_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libm2sci_la_helpendir)" || $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_helpendir)"
-       @list='$(libm2sci_la_helpen_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libm2sci_la_helpenDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libm2sci_la_helpendir)/$$f'"; \
-         $(libm2sci_la_helpenDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libm2sci_la_helpendir)/$$f"; \
-       done
-
-uninstall-libm2sci_la_helpenDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libm2sci_la_helpen_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libm2sci_la_helpendir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libm2sci_la_helpendir)/$$f"; \
-       done
-install-libm2sci_la_helpfrDATA: $(libm2sci_la_helpfr_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libm2sci_la_helpfrdir)" || $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_helpfrdir)"
-       @list='$(libm2sci_la_helpfr_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libm2sci_la_helpfrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libm2sci_la_helpfrdir)/$$f'"; \
-         $(libm2sci_la_helpfrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libm2sci_la_helpfrdir)/$$f"; \
-       done
-
-uninstall-libm2sci_la_helpfrDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libm2sci_la_helpfr_DATA)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libm2sci_la_helpfrdir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libm2sci_la_helpfrdir)/$$f"; \
-       done
 install-libm2sci_la_rootDATA: $(libm2sci_la_root_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(libm2sci_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_rootdir)"
@@ -1758,7 +1729,7 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
-       for dir in "$(DESTDIR)$(libm2sci_la_etcdir)" "$(DESTDIR)$(libm2sci_la_helpendir)" "$(DESTDIR)$(libm2sci_la_helpfrdir)" "$(DESTDIR)$(libm2sci_la_rootdir)" "$(DESTDIR)$(libm2sci_la_macrodir)"; do \
+       for dir in "$(DESTDIR)$(libm2sci_la_etcdir)" "$(DESTDIR)$(libm2sci_la_rootdir)" "$(DESTDIR)$(libm2sci_la_macrodir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
        done
 install: install-am
@@ -1804,7 +1775,6 @@ info: info-am
 info-am:
 
 install-data-am: install-libm2sci_la_etcDATA \
-       install-libm2sci_la_helpenDATA install-libm2sci_la_helpfrDATA \
        install-libm2sci_la_rootDATA \
        install-nobase_libm2sci_la_macroDATA
 
@@ -1814,6 +1784,8 @@ install-exec-am:
 
 install-html: install-html-am
 
+install-html-am: install-html-local
+
 in