* aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
[platform/upstream/automake.git] / lib / am / libs.am
index b5abb0c..46574b0 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 install-@DIR@LIBRARIES: $(@DIR@_LIBRARIES)
-       $(NORMAL_INSTALL)
-       $(mkinstalldirs) $(@DIR@dir)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(@NDIR@dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       list="$(@DIR@_LIBRARIES)"; for p in $$list; do \
+       @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
          if test -f $$p; then \
-           echo "$(INSTALL_DATA) $$p $(@DIR@dir)/$$p"; \
-           $(INSTALL_DATA) $$p $(@DIR@dir)/$$p; \
+           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@NDIR@dir)/$$p"; \
+           $(INSTALL_DATA) $$p $(DESTDIR)$(@NDIR@dir)/$$p; \
          else :; fi; \
        done
 ## We do two loops here so that $(POST_INSTALL) can be empty.  If we
@@ -31,16 +31,18 @@ install-@DIR@LIBRARIES: $(@DIR@_LIBRARIES)
 ## $(POST_INSTALL) in the middle of the loop essentially renders it
 ## useless; sh never actually executes this command.  Read the GNU
 ## Standards for a little enlightenment on this.
-       $(POST_INSTALL)
-       @list="$(@DIR@_LIBRARIES)"; for p in $$list; do \
+       @$(POST_INSTALL)
+       @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
          if test -f $$p; then \
 ## Must ranlib after installing because mod time changes.
-           echo "$(RANLIB) $(@DIR@dir)/$$p"; \
-           $(RANLIB) $(@DIR@dir)/$$p; \
+           echo " $(RANLIB) $(DESTDIR)$(@NDIR@dir)/$$p"; \
+           $(RANLIB) $(DESTDIR)$(@NDIR@dir)/$$p; \
          else :; fi; \
        done
 
 uninstall-@DIR@LIBRARIES:
-       list="$(@DIR@_LIBRARIES)"; for p in $$list; do \
-         rm -f $(@DIR@dir)/$$p; \
+       @$(NORMAL_UNINSTALL)
+       @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+         echo " rm -f $(DESTDIR)$(@NDIR@dir)/$$p"; \
+         rm -f $(DESTDIR)$(@NDIR@dir)/$$p; \
        done