Commit bc079e6c authored by Mukund Sivaraman's avatar Mukund Sivaraman

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

parent 2adb81ee
......@@ -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)
......@@ -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~
......
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment