[gtk-doc] make: tune install output



commit fcd871037ee1ea7ad857614c938f4fbaf6744b1d
Author: Stefan Kost <ensonic users sf net>
Date:   Wed Apr 13 15:33:29 2011 +0300

    make: tune install output
    
    Echo errors to stderr and produce install output like other automake generated code.

 gtk-doc.make        |    4 ++--
 gtk-doc.notmpl.make |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk-doc.make b/gtk-doc.make
index 4b715be..bef954e 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -211,7 +211,7 @@ maintainer-clean-local: clean
 install-data-local:
 	@installfiles=`echo $(srcdir)/html/*`; \
 	if test "$$installfiles" = '$(srcdir)/html/*'; \
-	then echo '-- Nothing to install' ; \
+	then echo 1>&2 'Nothing to install' ; \
 	else \
 	  if test -n "$(DOC_MODULE_VERSION)"; then \
 	    installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
@@ -220,7 +220,7 @@ install-data-local:
 	  fi; \
 	  $(mkinstalldirs) $${installdir} ; \
 	  for i in $$installfiles; do \
-	    echo '-- Installing '$$i ; \
+	    echo ' $(INSTALL_DATA) '$$i ; \
 	    $(INSTALL_DATA) $$i $${installdir}; \
 	  done; \
 	  if test -n "$(DOC_MODULE_VERSION)"; then \
diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make
index c259e02..ca3fe2f 100644
--- a/gtk-doc.notmpl.make
+++ b/gtk-doc.notmpl.make
@@ -189,7 +189,7 @@ maintainer-clean-local: clean
 install-data-local:
 	@installfiles=`echo $(builddir)/html/*`; \
 	if test "$$installfiles" = '$(srcdir)/html/*'; \
-	then echo '-- Nothing to install' ; \
+	then echo 1>&2 'Nothing to install' ; \
 	else \
 	  if test -n "$(DOC_MODULE_VERSION)"; then \
 	    installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
@@ -198,7 +198,7 @@ install-data-local:
 	  fi; \
 	  $(mkinstalldirs) $${installdir} ; \
 	  for i in $$installfiles; do \
-	    echo '-- Installing '$$i ; \
+	    echo ' $(INSTALL_DATA) '$$i ; \
 	    $(INSTALL_DATA) $$i $${installdir}; \
 	  done; \
 	  if test -n "$(DOC_MODULE_VERSION)"; then \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]