follow GNU standards
[platform/upstream/automake.git] / lib / am / lisp.am
index d363fca..58e9c49 100644 (file)
@@ -20,15 +20,18 @@ install-@DIR@LISP: $(@DIR@_LISP) $(ELCFILES)
        $(mkinstalldirs) $(@DIR@dir)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
-       list="$(@DIR@_LISP)"; for p in $$list; do \
+       @list="$(@DIR@_LISP)"; for p in $$list; do \
+         echo " $(INSTALL_DATA) $(srcdir)/$$p $(@DIR@dir)/$$p"; \
          $(INSTALL_DATA) $(srcdir)/$$p $(@DIR@dir)/$$p; \
 ## Only install .elc file if it exists.
-         if test -f $${p}c; then
+         if test -f $${p}c; then \
+           echo " $(INSTALL_DATA) $${p}c $(@DIR@dir)/$${p}c"; \
            $(INSTALL_DATA) $${p}c $(@DIR@dir)/$${p}c; \
          else : ; fi; \
        done
 
 uninstall-@DIR@LISP:
+       $(NORMAL_UNINSTALL)
        list="$(@DIR@_LISP)"; for p in $$list; do \
          rm -f $(@DIR@dir)/$$p $(@DIR@dir)/$${p}c; \
        done