[gimp] build: Add $(AM_V_GEN) to more places in Makefile.am files



commit bc079e6cab413bc29e53ebf51501f566020a8f9e
Author: Mukund Sivaraman <muks banu com>
Date:   Wed Oct 10 13:13:56 2012 +0530

    build: Add $(AM_V_GEN) to more places in Makefile.am files

 cursors/Makefile.am               |    8 ++++----
 libgimpwidgets/Makefile.am        |    6 +++---
 themes/Default/images/Makefile.am |    6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/cursors/Makefile.am b/cursors/Makefile.am
index 577b77e..634ab4a 100644
--- a/cursors/Makefile.am
+++ b/cursors/Makefile.am
@@ -95,7 +95,7 @@ CLEANFILES = \
 	color-picker-cursors.list
 
 tool-cursors.list: $(CURSOR_IMAGES) Makefile.am
-	( rm -f $@; \
+	$(AM_V_GEN) ( rm -f $@; \
 	  for image in $(CURSOR_IMAGES); do \
 	    echo $$image | \
 	      sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
@@ -103,7 +103,7 @@ tool-cursors.list: $(CURSOR_IMAGES) Makefile.am
 	  done )
 
 color-picker-cursors.list: $(COLOR_PICKER_IMAGES) Makefile.am
-	( rm -f $@; \
+	$(AM_V_GEN) ( rm -f $@; \
 	  for image in $(COLOR_PICKER_IMAGES); do \
 	    echo $$image | \
 	      sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
@@ -111,7 +111,7 @@ color-picker-cursors.list: $(COLOR_PICKER_IMAGES) Makefile.am
 	  done )
 
 $(srcdir)/gimp-tool-cursors.h: tool-cursors.list
-	$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat tool-cursors.list` > $(@F)
+	$(AM_V_GEN) $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat tool-cursors.list` > $(@F)
 
 $(srcdir)/gimp-color-picker-cursors.h: color-picker-cursors.list
-	$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat color-picker-cursors.list` > $(@F)
+	$(AM_V_GEN) $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat color-picker-cursors.list` > $(@F)
diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am
index 25616df..98fe0d6 100644
--- a/libgimpwidgets/Makefile.am
+++ b/libgimpwidgets/Makefile.am
@@ -301,7 +301,7 @@ gen_sources = xgen-wec xgen-wmh xgen-wmc gimp-wilber-pixbufs.h
 CLEANFILES = $(gen_sources)
 
 gimpwidgetsenums.c: $(srcdir)/gimpwidgetsenums.h $(GIMP_MKENUMS)
-	$(GIMP_MKENUMS) \
+	$(AM_V_GEN) $(GIMP_MKENUMS) \
 		--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpwidgetsenums.h\"\n#include \"libgimp/libgimp-intl.h\"" \
 		--fprod "\n/* enumerations from \"@filename \" */" \
 		--vhead "GType\n enum_name@_get_type (void)\n{\n  static const G Type@Value values[] =\n  {" \
@@ -315,12 +315,12 @@ gimpwidgetsenums.c: $(srcdir)/gimpwidgetsenums.h $(GIMP_MKENUMS)
 	&& rm -f xgen-wec
 
 gimpwidgetsmarshal.h: $(srcdir)/gimpwidgetsmarshal.list
-	$(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-wmh \
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-wmh \
 	&& (cmp -s xgen-wmh $(@F) || cp xgen-wmh $(@F)) \
 	&& rm -f xgen-wmh xgen-wmh~
 
 gimpwidgetsmarshal.c: gimpwidgetsmarshal.h
-	echo "#include \"gimpwidgetsmarshal.h\"" >> xgen-wmc \
+	$(AM_V_GEN) echo "#include \"gimpwidgetsmarshal.h\"" >> xgen-wmc \
 	&& $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --body >> xgen-wmc \
 	&& cp xgen-wmc $(@F) \
 	&& rm -f xgen-wmc xgen-wmc~
diff --git a/themes/Default/images/Makefile.am b/themes/Default/images/Makefile.am
index 018753d..375d86d 100644
--- a/themes/Default/images/Makefile.am
+++ b/themes/Default/images/Makefile.am
@@ -382,7 +382,7 @@ CLEANFILES = $(noinst_DATA) stock-icons.list
 
 
 stock-icons.list: $(STOCK_IMAGES) Makefile.am
-	( rm -f $@; \
+	$(AM_V_GEN) ( rm -f $@; \
           for image in $(STOCK_IMAGES); do \
             echo $$image | \
               sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
@@ -390,7 +390,7 @@ stock-icons.list: $(STOCK_IMAGES) Makefile.am
 	  done )
 
 gimp-core-pixbufs.h: $(CORE_IMAGES) Makefile.am
-	$(GDK_PIXBUF_CSOURCE) --raw --build-list $(CORE_VARIABLES) > $(@F)
+	$(AM_V_GEN) $(GDK_PIXBUF_CSOURCE) --raw --build-list $(CORE_VARIABLES) > $(@F)
 
 gimp-stock-pixbufs.h: stock-icons.list
-	$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat $<` > $(@F)
+	$(AM_V_GEN) $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat $<` > $(@F)



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