If MACROSSPECIALEXT was empty, this was causing some issues under Solaris (thanks...
Sylvestre Ledru [Tue, 15 Sep 2009 08:57:02 +0000 (10:57 +0200)]
scilab/Makefile.incl.am

index 0b0df21..1ebb1c8 100644 (file)
@@ -249,10 +249,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 ; \