Commit 94e95a7f authored by Thomas H.P. Andersen's avatar Thomas H.P. Andersen Committed by Johannes Schmid

Use AM_SILENT_RULES

parent 54252d4d
......@@ -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])
......
......@@ -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" \
......
......@@ -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
......
......@@ -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-$@ $@; \
......
......@@ -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
......
......@@ -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
......
......@@ -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)
......
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