* Makefile.in: corrected targets that use 'for' over what may be
authorJeff Hobbs <hobbs@users.sourceforge.net>
Wed, 9 Jun 2004 16:31:05 +0000 (16:31 +0000)
committerJeff Hobbs <hobbs@users.sourceforge.net>
Wed, 9 Jun 2004 16:31:05 +0000 (16:31 +0000)
an empty list.  Cleaned up echo output.

ChangeLog
Makefile.in

index 94ec3aebcde7886710d07d6028ae2e041be4373b..e3e31aa05a2b9a8eb9688b629184e630c4f19688 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-06-09  Jeff Hobbs  <jeffh@ActiveState.com>
+
+       * Makefile.in: corrected targets that use 'for' over what may be
+       an empty list.  Cleaned up echo output.
+
+       * generic/vfs.c (Vfs_Init): added #ifndef PACKAGE_VERSION for
+       non-TEA based build system.
+
 2004-06-04  Jeff Hobbs  <jeffh@ActiveState.com>
 
        * examples/simpleExamples.tcl:
index 327e7ae72ac0e2709a57cca0884aafaf10fb164d..7b36386540d4b6a1a2f450462336dc92d5b46a62 100644 (file)
@@ -183,8 +183,8 @@ install-binaries: binaries install-lib-binaries install-bin-binaries
 install-libraries: libraries
        @mkdir -p $(DESTDIR)$(includedir)
        @echo "Installing header files in $(DESTDIR)$(includedir)"
-       @for i in $(PKG_HEADERS) ; do \
-           echo "Installing $(srcdir)/$$i" ; \
+       @list='$(PKG_HEADERS)'; for i in $$list; do \
+           echo "    $$i" ; \
            $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \
        done;
 
@@ -195,9 +195,9 @@ install-libraries: libraries
 
 install-doc: doc
        @mkdir -p $(DESTDIR)$(mandir)/mann
-       @echo "Installing documentation in $(DESTDIR)$(mandir)"
-       @for i in $(srcdir)/doc/*.n; do \
-           echo "Installing $(DESTDIR)$(mandir)/mann/`basename $$i`"; \
+       @echo "Installing documentation in $(DESTDIR)$(mandir)/mann"
+       @list='$(srcdir)/doc/*.n'; for i in $$list; do \
+           echo "    `basename $$i`"; \
            rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
            $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
        done
@@ -295,7 +295,7 @@ install-lib-binaries:
        @mkdir -p $(DESTDIR)$(pkglibdir)
        @list='$(lib_BINARIES)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
+           echo "Installing $$p in $(DESTDIR)$(pkglibdir)"; \
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \
            stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
            if test "x$$stub" = "xstub"; then \
@@ -309,21 +309,22 @@ install-lib-binaries:
            if test "x$$ext" = "xdll"; then \
                lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \
                if test -f $$lib; then \
-                   echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; \
+                   echo "Install $$lib in $(DESTDIR)$(pkglibdir)"; \
                    $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib; \
                fi; \
            fi; \
          fi; \
        done
+       @echo "Installing library files in $(DESTDIR)$(pkglibdir)";
        @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
          if test -f $(srcdir)/library/$$p; then \
            destp=`basename $$p`; \
-           echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \
+           echo "    $$destp"; \
            $(INSTALL_DATA) $(srcdir)/library/$$p $(DESTDIR)$(pkglibdir)/$$destp; \
          fi; \
        done
        @if test "x$(SHARED_BUILD)" = "x1"; then \
-           echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
+           echo "    pkgIndex.tcl"; \
            $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
        fi
 
@@ -337,7 +338,7 @@ install-bin-binaries:
        @mkdir -p $(DESTDIR)$(bindir)
        @list='$(bin_BINARIES)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p"; \
+           echo "Installing $$p in $(DESTDIR)$(bindir)"; \
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
          fi; \
        done