[file-roller] added silent rules
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [file-roller] added silent rules
- Date: Sat, 16 Jan 2010 14:09:03 +0000 (UTC)
commit e5cd42bc2fa40a439018d9edf82c6fe3d4385a45
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jan 16 15:08:14 2010 +0100
added silent rules
configure.ac | 3 ++-
src/Makefile.am | 14 +++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ac24eaa..061402a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,8 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(file-roller, 2.29.4, [http://bugzilla.gnome.org/enter_bug.cgi?product=file-roller])
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AM_INIT_AUTOMAKE([1.9 foreign])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
diff --git a/src/Makefile.am b/src/Makefile.am
index 402104f..97e0f8e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -155,24 +155,24 @@ file_roller_SOURCES = \
$(BUILT_SOURCES)
fr-marshal.h: fr-marshal.list $(GLIB_GENMARSHAL)
- $(GLIB_GENMARSHAL) $< --header --prefix=fr_marshal > $@
+ $(AM_V_GEN)( $(GLIB_GENMARSHAL) $< --header --prefix=fr_marshal > $@ )
fr-marshal.c: fr-marshal.list $(GLIB_GENMARSHAL)
- echo "#include \"fr-marshal.h\"" > $@ && \
- $(GLIB_GENMARSHAL) $< --body --prefix=fr_marshal >> $@
+ $(AM_V_GEN)( echo "#include \"fr-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --body --prefix=fr_marshal >> $@ )
fr-enum-types.h: typedefs.h $(GLIB_MKENUMS)
- $(GLIB_MKENUMS) \
+ $(AM_V_GEN)( $(GLIB_MKENUMS) \
--fhead "#ifndef FR_ENUM__TYPES_H\n#define FR_ENUM_TYPES_H\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename \" */\n" \
--vhead "GType @enum_name _get_type (void);\n#define FR_TYPE_ ENUMSHORT@ (@enum_name _get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* FR_ENUM_TYPES_H */" \
$^> xgen-$(@F) \
&& (cmp -s xgen-$(@F) fr-enum-types.h || cp xgen-$(@F) fr-enum-types.h ) \
- && rm -f xgen-$(@F)
+ && rm -f xgen-$(@F) )
fr-enum-types.c: typedefs.h fr-enum-types.h
- $(GLIB_MKENUMS) \
+ $(AM_V_GEN)( $(GLIB_MKENUMS) \
--fhead "#include <glib-object.h>\n" \
--fprod "\n/* enumerations from \"@filename \" */\n#include \"@filename \"" \
--vhead "GType\n enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G Type@Value values[] = {" \
@@ -180,7 +180,7 @@ fr-enum-types.c: typedefs.h fr-enum-types.h
--vtail " { 0, NULL, NULL }\n };\n etype = g_ type@_register_static (\"@EnumName \", values);\n }\n return etype;\n}\n" \
$^> xgen-$(@F) \
&& (cmp -s xgen-$(@F) fr-enum-types.c || cp xgen-$(@F) fr-enum-types.c ) \
- && rm -f xgen-$(@F)
+ && rm -f xgen-$(@F) )
file_roller_LDADD = \
$(top_builddir)/copy-n-paste/libeggsmclient.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]