[gnome-photos/wip/facebook] build: Wrap glib-mkenums with $(AM_V_GEN)
- From: Álvaro Peña <alvaropg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/facebook] build: Wrap glib-mkenums with $(AM_V_GEN)
- Date: Fri, 22 Nov 2013 21:54:48 +0000 (UTC)
commit ef99ec3a69e99fc7c9e00d2ab9d2cb79260fa36d
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Aug 20 09:57:54 2013 +0200
build: Wrap glib-mkenums with $(AM_V_GEN)
src/Makefile.am | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index f32d29c..384b6fb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -283,13 +283,15 @@ CLEANFILES = \
$(NULL)
gegl-gtk-enums.c: $(srcdir)/gegl-gtk-enums.h
- glib-mkenums \
- --fhead "/* This is a generated file, do not edit directly */\n\n#include \"config.h\"\n#include
<glib-object.h>\n#include \"gegl-gtk-enums.h\"" \
- --fprod "\n/* enumerations from \"@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[] = {" \
- --vprod " { @VALUENAME@, \"@valuenick \", \"@valuenick \" }," \
- --vtail " { 0, NULL, NULL }\n };\n etype = g_ type@_register_static (\"@EnumName \",
values);\n }\n return etype;\n}\n\n" \
- $(srcdir)/gegl-gtk-enums.h > gegl-gtk-enums.c
+ $(AM_V_GEN) ( \
+ glib-mkenums \
+ --fhead "/* This is a generated file, do not edit directly */\n\n#include
\"config.h\"\n#include <glib-object.h>\n#include \"gegl-gtk-enums.h\"" \
+ --fprod "\n/* enumerations from \"@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[] = {" \
+ --vprod " { @VALUENAME@, \"@valuenick \", \"@valuenick \" }," \
+ --vtail " { 0, NULL, NULL }\n };\n etype = g_ type@_register_static
(\"@EnumName \", values);\n }\n return etype;\n}\n\n" \
+ $(srcdir)/gegl-gtk-enums.h > gegl-gtk-enums.c \
+ )
gegl-gtk-marshal.h: stamp-gegl-gtk-marshal.h
@true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]