From: Damien Lespiau Date: Mon, 9 Nov 2009 13:05:40 +0000 (+0000) Subject: build: Make the glib-mkenums generated files depend on their templates X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac9f65cb92196e2eafd4b1e25dabd9cb6a428db3;p=profile%2Fivi%2Fclutter.git build: Make the glib-mkenums generated files depend on their templates With this, if one changes the underlying template files, we run glib-mkenums again to generate updated glib_enum_[ch] files. Reviewed-by: Emmanuele Bassi --- diff --git a/build/autotools/Makefile.am.enums b/build/autotools/Makefile.am.enums index 67f4de0..0f34732 100644 --- a/build/autotools/Makefile.am.enums +++ b/build/autotools/Makefile.am.enums @@ -23,7 +23,7 @@ DISTCLEANFILES += $(glib_enum_h) $(glib_enum_c) BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c) EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c) -stamp-enum-types: $(glib_enum_headers) +stamp-enum-types: $(glib_enum_headers) $(srcdir)/$(enum_tmpl_h) $(QUIET_GEN)$(GLIB_MKENUMS) \ --template $(srcdir)/$(enum_tmpl_h) \ $(glib_enum_headers) > xgen-eh \ @@ -34,7 +34,7 @@ stamp-enum-types: $(glib_enum_headers) $(glib_enum_h): stamp-enum-types @true -$(glib_enum_c): $(glib_enum_h) +$(glib_enum_c): $(glib_enum_h) $(srcdir)/$(enum_tmpl_c) $(QUIET_GEN)$(GLIB_MKENUMS) \ --template $(srcdir)/$(enum_tmpl_c) \ $(glib_enum_headers) > xgen-ec \