[anjuta] Use AM_SILENT_RULES
- From: Johannes Schmid <jhs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjuta] Use AM_SILENT_RULES
- Date: Wed, 20 Jan 2010 20:01:15 +0000 (UTC)
commit 94e95a7f97022d4bf0a165b5d0813a359012bf47
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Tue Jan 19 00:07:09 2010 +0100
Use AM_SILENT_RULES
configure.in | 1 +
libanjuta/Makefile.am | 8 ++++----
plugins/debug-manager/Makefile.am | 4 ++--
plugins/file-manager/Makefile.am | 4 ++--
plugins/sourceview/Makefile.am | 4 ++--
plugins/tools/scripts/Makefile.am | 10 +++++-----
scripts/build-schemas.mk | 2 +-
7 files changed, 17 insertions(+), 16 deletions(-)
---
diff --git a/configure.in b/configure.in
index 87f5d28..00e897c 100644
--- a/configure.in
+++ b/configure.in
@@ -9,6 +9,7 @@ m4_define(anjuta_nano_version, 0)
m4_define(anjuta_version, anjuta_major_version.anjuta_minor_version.anjuta_micro_version.anjuta_nano_version)
AC_INIT(anjuta, anjuta_version, http://bugzilla.gnome.org/enter_bug.cgi?product=anjuta)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR(src/main.c)
AC_DEFINE(ANJUTA_MAJOR_VERSION, anjuta_major_version, [Anjuta major version])
diff --git a/libanjuta/Makefile.am b/libanjuta/Makefile.am
index 4391420..b4dbe67 100644
--- a/libanjuta/Makefile.am
+++ b/libanjuta/Makefile.am
@@ -150,13 +150,13 @@ libanjutainclude_HEADERS = \
BUILT_SOURCES=anjuta-marshal.c anjuta-marshal.h anjuta-enum-types.h anjuta-enum-types.c
anjuta-marshal.h: anjuta-marshal.list
- @GLIB_GENMARSHAL@ \
+ $(AM_V_GEN)@GLIB_GENMARSHAL@ \
--prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --header > xgen-gmc \
&& cp xgen-gmc $(@F) \
&& rm -f xgen-gmc
anjuta-marshal.c: anjuta-marshal.h anjuta-marshal.list
- echo "#include \"anjuta-marshal.h\"" > xgenc-gmc \
+ $(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > xgenc-gmc \
&& @GLIB_GENMARSHAL@ \
--prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --body >> xgenc-gmc \
&& cp xgenc-gmc $(@F) \
@@ -165,7 +165,7 @@ anjuta-marshal.c: anjuta-marshal.h anjuta-marshal.list
anjuta-enum-types.h: stamp-anjuta-enum-types.h $(libanjuta_include)
@true
stamp-anjuta-enum-types.h: Makefile $(libanjuta_include) anjuta-enum-types.c
- ( cd $(srcdir) && $(GLIB_MKENUMS) \
+ $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#ifndef __ANJUTA_ENUM_TYPES_H__\n#define __ANJUTA_ENUM_TYPES_H__\n\n#include <libanjuta/libanjuta.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename \" */\n" \
--vhead "GType @enum_name _get_type (void) G_GNUC_CONST;\n#define ANJUTA_TYPE_ ENUMSHORT@ (@enum_name _get_type())\n" \
@@ -176,7 +176,7 @@ stamp-anjuta-enum-types.h: Makefile $(libanjuta_include) anjuta-enum-types.c
&& echo timestamp > $(@F)
anjuta-enum-types.c: Makefile
- ( cd $(srcdir) && $(GLIB_MKENUMS) \
+ $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#include \"anjuta-enum-types.h\"\n" \
--fprod "\n/* enumerations from \"@filename \" */" \
--ftail "\n#define __ANJUTA_ENUM_TYPES_C__\n" \
diff --git a/plugins/debug-manager/Makefile.am b/plugins/debug-manager/Makefile.am
index 8af1b21..660a161 100644
--- a/plugins/debug-manager/Makefile.am
+++ b/plugins/debug-manager/Makefile.am
@@ -36,10 +36,10 @@ BUILT_SOURCES = \
anjuta-marshal.h
anjuta-marshal.h: anjuta-marshal.list
- glib-genmarshal $< --header --prefix=anjuta_marshal > $@
+ $(AM_V_GEN)glib-genmarshal $< --header --prefix=anjuta_marshal > $@
anjuta-marshal.c: anjuta-marshal.list
- echo "#include \"anjuta-marshal.h\"" > $@ && \
+ $(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > $@ && \
glib-genmarshal $< --body --prefix=anjuta_marshal >> $@
if GCONF_SCHEMAS_INSTALL
diff --git a/plugins/file-manager/Makefile.am b/plugins/file-manager/Makefile.am
index 2090cf4..2336be4 100644
--- a/plugins/file-manager/Makefile.am
+++ b/plugins/file-manager/Makefile.am
@@ -60,13 +60,13 @@ libfile_manager_la_LIBADD = \
$(GIO_LIBS)
file-view-marshal.h: $(srcdir)/file-view-marshal.list
- if $(GLIB_GENMARSHAL) --prefix=file_view_cclosure_marshal \
+ $(AM_V_GEN)if $(GLIB_GENMARSHAL) --prefix=file_view_cclosure_marshal \
--header $(srcdir)/file-view-marshal.list >.genmarshal-$@; \
then mv -f .genmarshal-$@ $@; \
else rm -f .genmarshal-$@; fi
file-view-marshal.c: $(srcdir)/file-view-marshal.list
- if { echo '#include "file-view-marshal.h"' && $(GLIB_GENMARSHAL) \
+ $(AM_V_GEN)if { echo '#include "file-view-marshal.h"' && $(GLIB_GENMARSHAL) \
--prefix=file_view_cclosure_marshal --body $(srcdir)/file-view-marshal.list; \
} >.genmarshal-$@; \
then mv -f .genmarshal-$@ $@; \
diff --git a/plugins/sourceview/Makefile.am b/plugins/sourceview/Makefile.am
index b597cd7..46c317c 100644
--- a/plugins/sourceview/Makefile.am
+++ b/plugins/sourceview/Makefile.am
@@ -38,10 +38,10 @@ BUILT_SOURCES = \
anjuta-marshal.h
anjuta-marshal.h: anjuta-marshal.list
- glib-genmarshal $< --header --prefix=anjuta_marshal > $@
+ $(AM_V_GEN)glib-genmarshal $< --header --prefix=anjuta_marshal > $@
anjuta-marshal.c: anjuta-marshal.list
- echo "#include \"anjuta-marshal.h\"" > $@ && \
+ $(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > $@ && \
glib-genmarshal $< --body --prefix=anjuta_marshal >> $@
# The plugin
diff --git a/plugins/tools/scripts/Makefile.am b/plugins/tools/scripts/Makefile.am
index c316220..287c28a 100644
--- a/plugins/tools/scripts/Makefile.am
+++ b/plugins/tools/scripts/Makefile.am
@@ -18,11 +18,11 @@ edit = sed \
-e 's|@ANJUTA_DATA_DIR[ ]|$(anjuta_data_dir)|g'
tools-2.xml: Makefile
- rm -f $@ $ tmp
- $(edit) '$(srcdir)/$ in' >$ tmp
- chmod +x $ tmp
- chmod a-w $ tmp
- mv $ tmp $@
+ $(AM_V_at)rm -f $@ $ tmp
+ $(AM_V_at)$(edit) '$(srcdir)/$ in' >$ tmp
+ $(AM_V_at)chmod +x $ tmp
+ $(AM_V_at)chmod a-w $ tmp
+ $(AM_V_GEN)mv $ tmp $@
tools-2.xml: tools-2.xml.in
diff --git a/scripts/build-schemas.mk b/scripts/build-schemas.mk
index 6a12b14..9081f8b 100644
--- a/scripts/build-schemas.mk
+++ b/scripts/build-schemas.mk
@@ -5,7 +5,7 @@ prefs_ui_schemas = $(prefs_ui_files:.ui=.schemas)
prefs_ui_schemas_DATA = $(prefs_ui_schemas)
%.schemas: %.ui
- $(top_srcdir)/scripts/builder2schema.pl $< > $@
+ $(AM_V_GEN)$(top_srcdir)/scripts/builder2schema.pl $< > $@
if GCONF_SCHEMAS_INSTALL
install-data-local: $(prefs_ui_schemas)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]