[json-glib] build: Fix out-of-tree enum types file generation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [json-glib] build: Fix out-of-tree enum types file generation
- Date: Sat, 28 Nov 2009 17:40:20 +0000 (UTC)
commit 97584658672fe4709fc7c3b24a44b477112322f7
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Sat Nov 28 17:39:37 2009 +0000
build: Fix out-of-tree enum types file generation
build/autotools/Makefile.am.enums | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]