* test ! -z => test -n (it is the same)
Sylvestre Ledru [Mon, 21 Sep 2009 09:06:41 +0000 (11:06 +0200)]
* add of a test which was causing problems with solaris.
See: http://lists.scilab.org/cgi-bin/ezmlm-browse?list=dev&cmd=showmsg&msgnum=1559
* regeneration of all makefile

75 files changed:
scilab/Makefile.incl.am
scilab/configure
scilab/libs/MALLOC/Makefile.in
scilab/libs/doublylinkedlist/Makefile.in
scilab/libs/dynamiclibrary/Makefile.in
scilab/libs/hashtable/Makefile.in
scilab/libs/libst/Makefile.in
scilab/modules/action_binding/Makefile.in
scilab/modules/api_scilab/Makefile.in
scilab/modules/arnoldi/Makefile.in
scilab/modules/atoms/Makefile.in
scilab/modules/boolean/Makefile.in
scilab/modules/cacsd/Makefile.in
scilab/modules/call_scilab/Makefile.in
scilab/modules/compatibility_functions/Makefile.in
scilab/modules/completion/Makefile.in
scilab/modules/console/Makefile.in
scilab/modules/core/Makefile.in
scilab/modules/data_structures/Makefile.in
scilab/modules/demo_tools/Makefile.in
scilab/modules/development_tools/Makefile.in
scilab/modules/differential_equations/Makefile.in
scilab/modules/double/Makefile.in
scilab/modules/dynamic_link/Makefile.in
scilab/modules/elementary_functions/Makefile.in
scilab/modules/fftw/Makefile.in
scilab/modules/fileio/Makefile.in
scilab/modules/functions/Makefile.in
scilab/modules/genetic_algorithms/Makefile.in
scilab/modules/graphic_export/Makefile.in
scilab/modules/graphics/Makefile.in
scilab/modules/gui/Makefile.in
scilab/modules/hdf5/Makefile.in
scilab/modules/helptools/Makefile.in
scilab/modules/history_manager/Makefile.in
scilab/modules/integer/Makefile.in
scilab/modules/interpolation/Makefile.in
scilab/modules/intersci/Makefile.in
scilab/modules/io/Makefile.in
scilab/modules/javasci/Makefile.in
scilab/modules/jvm/Makefile.in
scilab/modules/linear_algebra/Makefile.in
scilab/modules/localization/Makefile.in
scilab/modules/m2sci/Makefile.in
scilab/modules/maple2scilab/Makefile.in
scilab/modules/matio/Makefile.in
scilab/modules/metanet/Makefile.in
scilab/modules/mexlib/Makefile.in
scilab/modules/optimization/Makefile.in
scilab/modules/output_stream/Makefile.in
scilab/modules/overloading/Makefile.in
scilab/modules/parameters/Makefile.in
scilab/modules/polynomials/Makefile.in
scilab/modules/pvm/Makefile.in
scilab/modules/randlib/Makefile.in
scilab/modules/renderer/Makefile.in
scilab/modules/scicos/Makefile.in
scilab/modules/scicos_blocks/Makefile.in
scilab/modules/scipad/Makefile.in
scilab/modules/shell/Makefile.in
scilab/modules/signal_processing/Makefile.in
scilab/modules/simulated_annealing/Makefile.in
scilab/modules/sound/Makefile.in
scilab/modules/sparse/Makefile.in
scilab/modules/special_functions/Makefile.in
scilab/modules/spreadsheet/Makefile.in
scilab/modules/statistics/Makefile.in
scilab/modules/string/Makefile.in
scilab/modules/symbolic/Makefile.in
scilab/modules/tclsci/Makefile.in
scilab/modules/texmacs/Makefile.in
scilab/modules/time/Makefile.in
scilab/modules/umfpack/Makefile.in
scilab/modules/windows_tools/Makefile.in
scilab/modules/xpad/Makefile.in

index 1ebb1c8..f946ffd 100644 (file)
@@ -68,7 +68,7 @@ if SWIG
 swig: $(SWIG_WRAPPERS)
        @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
        SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-       if test ! -z "$(SWIG_WRAPPERS)"; then \
+       if test -n "$(SWIG_WRAPPERS)"; then \
                for file in $(SWIG_WRAPPERS) ; do \
                        echo "Swig process of $$file ..."; \
                        $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -85,7 +85,7 @@ if GIWS
 ## build Swig Java => C wrappers
 giws: $(GIWS_WRAPPERS)
        @GIWS_OUTPUTDIR=src/jni/;\
-       if test ! -z "$(GIWS_WRAPPERS)"; then \
+       if test -n "$(GIWS_WRAPPERS)"; then \
                for file in $(GIWS_WRAPPERS) ; do \
                        echo "GIWS process of $$file ..."; \
                        $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
index d705dbd..7f7bc1b 100755 (executable)
@@ -9152,7 +9152,7 @@ case "$CXX" in
         g++-* | g++ | ccache*g++ | ccache*g++-* )
    ## With GNU C++ Compiler
    if test "$enable_debug_CXX" = yes; then
-         CXXFLAGS="$CXXFLAGS -pipe -Wshadow -Wpointer-arith -Wcast-align -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -Wno-strict-aliasing -Wextra -Wall -Wold-style-cast -g3 -Weffc++"
+         CXXFLAGS="$CXXFLAGS -pipe -Wshadow -Wpointer-arith -Wcast-align -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -Wno-strict-aliasing -Wextra -Wall -Wold-style-cast -g3"
           case "$host" in
           *-linux-gnu )
           # Only doing that under Linux
index 4d4d0ff..931b65f 100644 (file)
@@ -830,7 +830,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -842,7 +842,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -948,10 +948,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 01f476f..3da52cd 100644 (file)
@@ -813,7 +813,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -825,7 +825,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -931,10 +931,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index c3f4ec5..e4ad583 100644 (file)
@@ -815,7 +815,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -827,7 +827,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -933,10 +933,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index e06dad9..c03da9c 100644 (file)
@@ -810,7 +810,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -822,7 +822,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -928,10 +928,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 6d5111a..487a0b7 100644 (file)
@@ -772,7 +772,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -784,7 +784,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -890,10 +890,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index f082e1b..414dd36 100644 (file)
@@ -983,7 +983,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -995,7 +995,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1101,10 +1101,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 63fd25c..c3d3dfe 100644 (file)
@@ -995,7 +995,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1007,7 +1007,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1113,10 +1113,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 55ddb65..048cc30 100644 (file)
@@ -1211,7 +1211,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1223,7 +1223,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1329,10 +1329,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index b8d5d02..7e81c61 100644 (file)
@@ -684,7 +684,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -696,7 +696,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -802,10 +802,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ce28b1b..4e8021e 100644 (file)
@@ -1016,7 +1016,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1028,7 +1028,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1134,10 +1134,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 8e1c032..8a0f09c 100644 (file)
@@ -1882,7 +1882,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1894,7 +1894,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -2000,10 +2000,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index c57b21a..40d2df3 100644 (file)
@@ -565,8 +565,8 @@ mostlyclean-compile:
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicall_scilab_la-call_scilab.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicall_scilab_la-SendScilabJobs.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicall_scilab_la-call_scilab.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicall_scilab_la-fromc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicall_scilab_la-fromjava.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicall_scilab_la-gw_call_scilab.Plo@am__quote@
@@ -983,7 +983,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -995,7 +995,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1101,10 +1101,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 2730c0f..50d6faa 100644 (file)
@@ -685,7 +685,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -697,7 +697,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -803,10 +803,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index a30bf2c..e19cdeb 100644 (file)
@@ -1126,7 +1126,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1138,7 +1138,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1244,10 +1244,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ebcf1d1..f5b973d 100644 (file)
@@ -1140,7 +1140,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1152,7 +1152,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1258,10 +1258,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 43ebf93..3beff71 100644 (file)
@@ -2819,7 +2819,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -2831,7 +2831,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -2937,10 +2937,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ca66a55..44c7aff 100644 (file)
@@ -1185,7 +1185,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1197,7 +1197,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1303,10 +1303,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index bd6a6a4..a04d3cb 100644 (file)
@@ -709,7 +709,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -721,7 +721,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -827,10 +827,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index bca5251..98c4720 100644 (file)
@@ -681,7 +681,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -693,7 +693,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -799,10 +799,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index a80de94..9007868 100644 (file)
@@ -1565,7 +1565,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1577,7 +1577,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1683,10 +1683,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 69f61e6..fd5f5ff 100644 (file)
@@ -951,7 +951,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -963,7 +963,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1069,10 +1069,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 0d35bd7..99c0bcf 100644 (file)
@@ -1155,7 +1155,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1167,7 +1167,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1273,10 +1273,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 7695ce5..4dc4a32 100644 (file)
@@ -3153,7 +3153,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -3165,7 +3165,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -3271,10 +3271,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 216b299..127606e 100644 (file)
@@ -1073,7 +1073,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1085,7 +1085,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1191,10 +1191,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 40911be..576b8c4 100644 (file)
@@ -1767,7 +1767,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1779,7 +1779,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1885,10 +1885,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 18189e8..deec224 100644 (file)
@@ -1093,7 +1093,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1105,7 +1105,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1211,10 +1211,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index af257fe..59dd822 100644 (file)
@@ -686,7 +686,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -698,7 +698,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -804,10 +804,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 2ddfca2..708783e 100644 (file)
@@ -1223,7 +1223,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1235,7 +1235,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1341,10 +1341,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 376ae6e..cc63e14 100644 (file)
@@ -4790,7 +4790,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -4802,7 +4802,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -4908,10 +4908,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 87a376b..1ab6edd 100644 (file)
@@ -2532,7 +2532,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -2544,7 +2544,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -2650,10 +2650,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 8219fbf..c7eb432 100644 (file)
@@ -1035,7 +1035,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1047,7 +1047,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1153,10 +1153,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 00c89b4..767b823 100644 (file)
@@ -1338,7 +1338,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1350,7 +1350,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1456,10 +1456,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 35e3f69..52bcaac 100644 (file)
@@ -1193,7 +1193,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1205,7 +1205,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1311,10 +1311,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 3177166..a7a6ac7 100644 (file)
@@ -1654,7 +1654,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1666,7 +1666,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1772,10 +1772,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 70ce755..4fd3fb4 100644 (file)
@@ -1090,7 +1090,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1102,7 +1102,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1208,10 +1208,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 24ca38d..c977055 100644 (file)
@@ -1100,7 +1100,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1112,7 +1112,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1218,10 +1218,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index e3338ba..27bdbba 100644 (file)
@@ -1231,7 +1231,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1243,7 +1243,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1349,10 +1349,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index d33a8be..443f98d 100644 (file)
@@ -1114,7 +1114,7 @@ uninstall-am: uninstall-libjavasci_la_etcDATA \
 @JAVASCI_TRUE@@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @JAVASCI_TRUE@@SWIG_TRUE@      @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @JAVASCI_TRUE@@SWIG_TRUE@      SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@JAVASCI_TRUE@@SWIG_TRUE@      if test ! -z "$(SWIG_WRAPPERS)"; then \
+@JAVASCI_TRUE@@SWIG_TRUE@      if test -n "$(SWIG_WRAPPERS)"; then \
 @JAVASCI_TRUE@@SWIG_TRUE@              for file in $(SWIG_WRAPPERS) ; do \
 @JAVASCI_TRUE@@SWIG_TRUE@                      echo "Swig process of $$file ..."; \
 @JAVASCI_TRUE@@SWIG_TRUE@                      $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1126,7 +1126,7 @@ uninstall-am: uninstall-libjavasci_la_etcDATA \
 
 @GIWS_TRUE@@JAVASCI_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@@JAVASCI_TRUE@      @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@@JAVASCI_TRUE@      if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@@JAVASCI_TRUE@      if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@@JAVASCI_TRUE@              for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@@JAVASCI_TRUE@                      echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@@JAVASCI_TRUE@                      $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1232,10 +1232,12 @@ uninstall-am: uninstall-libjavasci_la_etcDATA \
 @JAVASCI_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
 @JAVASCI_TRUE@         if test -d $(srcdir)/$$dir/; then \
 @JAVASCI_TRUE@                 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-@JAVASCI_TRUE@                 for specialExt in $(MACROSSPECIALEXT); do \
-@JAVASCI_TRUE@                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-@JAVASCI_TRUE@                 done; \
-@JAVASCI_TRUE@                 FILELIST="$$FILELIST $$specialExtDir"; \
+@JAVASCI_TRUE@                 if test -n "$(MACROSSPECIALEXT)"; then \
+@JAVASCI_TRUE@                         for specialExt in $(MACROSSPECIALEXT); do \
+@JAVASCI_TRUE@                                 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+@JAVASCI_TRUE@                         done; \
+@JAVASCI_TRUE@                         FILELIST="$$FILELIST $$specialExtDir"; \
+@JAVASCI_TRUE@                 fi; \
 @JAVASCI_TRUE@           for file in `ls -1 $$FILELIST 2>/dev/null`; do \
 @JAVASCI_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
 @JAVASCI_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 7b20cdc..74f0bf6 100644 (file)
@@ -1192,7 +1192,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1204,7 +1204,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1310,10 +1310,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 7f40c35..4c70e0b 100644 (file)
@@ -1417,7 +1417,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1429,7 +1429,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1535,10 +1535,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 8652ac9..10610ab 100644 (file)
@@ -1048,7 +1048,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1060,7 +1060,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1166,10 +1166,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ed45f48..9685f57 100644 (file)
@@ -681,7 +681,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -693,7 +693,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -799,10 +799,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 104a454..9fcc36c 100644 (file)
@@ -679,7 +679,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -691,7 +691,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -797,10 +797,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 792de13..e0499e2 100644 (file)
@@ -1160,7 +1160,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1172,7 +1172,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1278,10 +1278,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 2028e98..388f34c 100644 (file)
@@ -1435,7 +1435,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1447,7 +1447,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1553,10 +1553,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 65ba1dd..7f7e478 100644 (file)
@@ -948,7 +948,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -960,7 +960,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1066,10 +1066,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 331f5fc..7371b92 100644 (file)
@@ -1442,7 +1442,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1454,7 +1454,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1560,10 +1560,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 49a8e2e..d31231d 100644 (file)
@@ -1315,7 +1315,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1327,7 +1327,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1433,10 +1433,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 2c18737..ee015f6 100644 (file)
@@ -681,7 +681,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -693,7 +693,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -799,10 +799,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 81af2a3..1047fc8 100644 (file)
@@ -683,7 +683,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -695,7 +695,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -801,10 +801,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index f7c0d48..fa8504f 100644 (file)
@@ -1419,7 +1419,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1431,7 +1431,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1537,10 +1537,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 9eb05fb..3d99eca 100644 (file)
@@ -1466,7 +1466,7 @@ uninstall-am: uninstall-libscipvm_la_etcDATA \
 @PVM_TRUE@@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @PVM_TRUE@@SWIG_TRUE@  @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @PVM_TRUE@@SWIG_TRUE@  SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@PVM_TRUE@@SWIG_TRUE@  if test ! -z "$(SWIG_WRAPPERS)"; then \
+@PVM_TRUE@@SWIG_TRUE@  if test -n "$(SWIG_WRAPPERS)"; then \
 @PVM_TRUE@@SWIG_TRUE@          for file in $(SWIG_WRAPPERS) ; do \
 @PVM_TRUE@@SWIG_TRUE@                  echo "Swig process of $$file ..."; \
 @PVM_TRUE@@SWIG_TRUE@                  $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1478,7 +1478,7 @@ uninstall-am: uninstall-libscipvm_la_etcDATA \
 
 @GIWS_TRUE@@PVM_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@@PVM_TRUE@  @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@@PVM_TRUE@  if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@@PVM_TRUE@  if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@@PVM_TRUE@          for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@@PVM_TRUE@                  echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@@PVM_TRUE@                  $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1584,10 +1584,12 @@ uninstall-am: uninstall-libscipvm_la_etcDATA \
 @PVM_TRUE@       $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
 @PVM_TRUE@             if test -d $(srcdir)/$$dir/; then \
 @PVM_TRUE@                     FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-@PVM_TRUE@                     for specialExt in $(MACROSSPECIALEXT); do \
-@PVM_TRUE@                             specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-@PVM_TRUE@                     done; \
-@PVM_TRUE@                     FILELIST="$$FILELIST $$specialExtDir"; \
+@PVM_TRUE@                     if test -n "$(MACROSSPECIALEXT)"; then \
+@PVM_TRUE@                             for specialExt in $(MACROSSPECIALEXT); do \
+@PVM_TRUE@                                     specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+@PVM_TRUE@                             done; \
+@PVM_TRUE@                             FILELIST="$$FILELIST $$specialExtDir"; \
+@PVM_TRUE@                     fi; \
 @PVM_TRUE@               for file in `ls -1 $$FILELIST 2>/dev/null`; do \
 @PVM_TRUE@                 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
 @PVM_TRUE@             $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
@@ -1646,7 +1648,7 @@ uninstall-am: uninstall-libscipvm_la_etcDATA \
 @PVM_FALSE@@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @PVM_FALSE@@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @PVM_FALSE@@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@PVM_FALSE@@SWIG_TRUE@ if test ! -z "$(SWIG_WRAPPERS)"; then \
+@PVM_FALSE@@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
 @PVM_FALSE@@SWIG_TRUE@         for file in $(SWIG_WRAPPERS) ; do \
 @PVM_FALSE@@SWIG_TRUE@                 echo "Swig process of $$file ..."; \
 @PVM_FALSE@@SWIG_TRUE@                 $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1658,7 +1660,7 @@ uninstall-am: uninstall-libscipvm_la_etcDATA \
 
 @GIWS_TRUE@@PVM_FALSE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@@PVM_FALSE@ @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@@PVM_FALSE@ if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@@PVM_FALSE@ if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@@PVM_FALSE@         for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@@PVM_FALSE@                 echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@@PVM_FALSE@                 $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1764,10 +1766,12 @@ uninstall-am: uninstall-libscipvm_la_etcDATA \
 @PVM_FALSE@      $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
 @PVM_FALSE@            if test -d $(srcdir)/$$dir/; then \
 @PVM_FALSE@                    FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-@PVM_FALSE@                    for specialExt in $(MACROSSPECIALEXT); do \
-@PVM_FALSE@                            specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-@PVM_FALSE@                    done; \
-@PVM_FALSE@                    FILELIST="$$FILELIST $$specialExtDir"; \
+@PVM_FALSE@                    if test -n "$(MACROSSPECIALEXT)"; then \
+@PVM_FALSE@                            for specialExt in $(MACROSSPECIALEXT); do \
+@PVM_FALSE@                                    specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+@PVM_FALSE@                            done; \
+@PVM_FALSE@                            FILELIST="$$FILELIST $$specialExtDir"; \
+@PVM_FALSE@                    fi; \
 @PVM_FALSE@              for file in `ls -1 $$FILELIST 2>/dev/null`; do \
 @PVM_FALSE@                echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
 @PVM_FALSE@            $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index b9e3de0..d48d2a1 100644 (file)
@@ -1125,7 +1125,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1137,7 +1137,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1243,10 +1243,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ce45172..3815d57 100644 (file)
@@ -3586,7 +3586,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -3598,7 +3598,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
index bca042c..ac2d25d 100644 (file)
@@ -1876,7 +1876,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1888,7 +1888,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1994,10 +1994,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index b6785f2..3a8a5dd 100644 (file)
@@ -4404,7 +4404,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -4416,7 +4416,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -4522,10 +4522,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 9503c15..b71cfc7 100644 (file)
@@ -976,7 +976,7 @@ uninstall-am: uninstall-libsciscipad_la_bindingsDATA \
 @SWIG_TRUE@@TCLTK_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@@TCLTK_TRUE@        @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@@TCLTK_TRUE@        SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@@TCLTK_TRUE@        if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@@TCLTK_TRUE@        if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@@TCLTK_TRUE@                for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@@TCLTK_TRUE@                        echo "Swig process of $$file ..."; \
 @SWIG_TRUE@@TCLTK_TRUE@                        $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -988,7 +988,7 @@ uninstall-am: uninstall-libsciscipad_la_bindingsDATA \
 
 @GIWS_TRUE@@TCLTK_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@@TCLTK_TRUE@        @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@@TCLTK_TRUE@        if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@@TCLTK_TRUE@        if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@@TCLTK_TRUE@                for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@@TCLTK_TRUE@                        echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@@TCLTK_TRUE@                        $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1094,10 +1094,12 @@ uninstall-am: uninstall-libsciscipad_la_bindingsDATA \
 @TCLTK_TRUE@     $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
 @TCLTK_TRUE@           if test -d $(srcdir)/$$dir/; then \
 @TCLTK_TRUE@                   FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-@TCLTK_TRUE@                   for specialExt in $(MACROSSPECIALEXT); do \
-@TCLTK_TRUE@                           specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-@TCLTK_TRUE@                   done; \
-@TCLTK_TRUE@                   FILELIST="$$FILELIST $$specialExtDir"; \
+@TCLTK_TRUE@                   if test -n "$(MACROSSPECIALEXT)"; then \
+@TCLTK_TRUE@                           for specialExt in $(MACROSSPECIALEXT); do \
+@TCLTK_TRUE@                                   specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+@TCLTK_TRUE@                           done; \
+@TCLTK_TRUE@                           FILELIST="$$FILELIST $$specialExtDir"; \
+@TCLTK_TRUE@                   fi; \
 @TCLTK_TRUE@             for file in `ls -1 $$FILELIST 2>/dev/null`; do \
 @TCLTK_TRUE@               echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
 @TCLTK_TRUE@           $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
@@ -1156,7 +1158,7 @@ uninstall-am: uninstall-libsciscipad_la_bindingsDATA \
 @SWIG_TRUE@@TCLTK_FALSE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@@TCLTK_FALSE@       @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@@TCLTK_FALSE@       SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@@TCLTK_FALSE@       if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@@TCLTK_FALSE@       if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@@TCLTK_FALSE@               for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@@TCLTK_FALSE@                       echo "Swig process of $$file ..."; \
 @SWIG_TRUE@@TCLTK_FALSE@                       $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1168,7 +1170,7 @@ uninstall-am: uninstall-libsciscipad_la_bindingsDATA \
 
 @GIWS_TRUE@@TCLTK_FALSE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@@TCLTK_FALSE@       @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@@TCLTK_FALSE@       if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@@TCLTK_FALSE@       if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@@TCLTK_FALSE@               for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@@TCLTK_FALSE@                       echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@@TCLTK_FALSE@                       $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1274,10 +1276,12 @@ uninstall-am: uninstall-libsciscipad_la_bindingsDATA \
 @TCLTK_FALSE@    $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
 @TCLTK_FALSE@          if test -d $(srcdir)/$$dir/; then \
 @TCLTK_FALSE@                  FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-@TCLTK_FALSE@                  for specialExt in $(MACROSSPECIALEXT); do \
-@TCLTK_FALSE@                          specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-@TCLTK_FALSE@                  done; \
-@TCLTK_FALSE@                  FILELIST="$$FILELIST $$specialExtDir"; \
+@TCLTK_FALSE@                  if test -n "$(MACROSSPECIALEXT)"; then \
+@TCLTK_FALSE@                          for specialExt in $(MACROSSPECIALEXT); do \
+@TCLTK_FALSE@                                  specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+@TCLTK_FALSE@                          done; \
+@TCLTK_FALSE@                          FILELIST="$$FILELIST $$specialExtDir"; \
+@TCLTK_FALSE@                  fi; \
 @TCLTK_FALSE@            for file in `ls -1 $$FILELIST 2>/dev/null`; do \
 @TCLTK_FALSE@              echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
 @TCLTK_FALSE@          $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 804ca56..8890ccc 100644 (file)
@@ -1129,7 +1129,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1141,7 +1141,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1247,10 +1247,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ed21e57..95681ee 100644 (file)
@@ -1346,7 +1346,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1358,7 +1358,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1464,10 +1464,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 0d7d229..221e168 100644 (file)
@@ -686,7 +686,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -698,7 +698,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -804,10 +804,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 06eac5b..318ff96 100644 (file)
@@ -931,7 +931,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -943,7 +943,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1049,10 +1049,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 2fe6cb0..31566f2 100644 (file)
@@ -1745,7 +1745,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1757,7 +1757,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1863,10 +1863,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index da9590c..40237b2 100644 (file)
@@ -1128,7 +1128,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1140,7 +1140,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1246,10 +1246,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 30bd7d0..9b21c29 100644 (file)
@@ -1019,7 +1019,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1031,7 +1031,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1137,10 +1137,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 36e6c76..5545a22 100644 (file)
@@ -1323,7 +1323,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1335,7 +1335,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1441,10 +1441,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 5ea6288..b6cdc53 100644 (file)
@@ -1482,7 +1482,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1494,7 +1494,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1600,10 +1600,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index c85daf0..bb3d9fa 100644 (file)
@@ -990,7 +990,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1002,7 +1002,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1108,10 +1108,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index b599994..f224c85 100644 (file)
@@ -1441,7 +1441,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1453,7 +1453,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1559,10 +1559,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 8bd07e3..08b3bdd 100644 (file)
@@ -682,7 +682,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -694,7 +694,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -800,10 +800,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 7b97200..2a74900 100644 (file)
@@ -1002,7 +1002,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1014,7 +1014,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1120,10 +1120,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 8dbdd1c..6b178b9 100644 (file)
@@ -1116,7 +1116,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1128,7 +1128,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1234,10 +1234,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index 52f96c6..deb9a69 100644 (file)
@@ -917,7 +917,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -929,7 +929,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1035,10 +1035,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
index ae11520..e553d09 100644 (file)
@@ -1057,7 +1057,7 @@ check-code:
 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
 @SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
 @SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
-@SWIG_TRUE@    if test ! -z "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
 @SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
 @SWIG_TRUE@                    echo "Swig process of $$file ..."; \
 @SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
@@ -1069,7 +1069,7 @@ check-code:
 
 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
 @GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
-@GIWS_TRUE@    if test ! -z "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
 @GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
 @GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
 @GIWS_TRUE@                    $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
@@ -1175,10 +1175,12 @@ install-data-local:
          $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
                if test -d $(srcdir)/$$dir/; then \
                        FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
-                       for specialExt in $(MACROSSPECIALEXT); do \
-                               specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
-                       done; \
-                       FILELIST="$$FILELIST $$specialExtDir"; \
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
                  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \