diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-27 19:54:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-08-27 20:07:52 +0800 |
commit | aa3b6c57a51dbd64af2371fd7a218231a3a56b19 (patch) | |
tree | 48aa0914a6f7507a93271133cb2653e6b4538bb7 /mail | |
parent | f4eeac9d196423591309b872672657c1e4902d70 (diff) | |
download | gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.tar gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.tar.gz gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.tar.bz2 gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.tar.lz gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.tar.xz gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.tar.zst gsoc2013-evolution-aa3b6c57a51dbd64af2371fd7a218231a3a56b19.zip |
Fix enum generation problems in glib-gen.mak.
Don't use pattern rules like %-enumtypes.h anymore because it matches
installed header files like camel-enumtypes.h, so you get very strange
things happening during the build like:
.../camel/camel-enumtypes.h: e-util-enums.h
glib-mkenums ... $^ > $@
when e-util-enums.h has a newer timestamp than camel-enumtypes.h.
Instead, we'll use another variable name -- glib_enum_output -- to
replace the %-enumtypes pattern rules like so:
$(glib_enum_output).h: $(glib_enum_headers)
glib-mkenums ... $^ > $@
$(glib_enum_output).c: $(glib_enum_headers)
glib-mkenums ... $^ > $@
Also use $(AM_V_GEN) to get cleaner looking output while building.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am index 0d2864d59f..97a2fe39a4 100644 --- a/mail/Makefile.am +++ b/mail/Makefile.am @@ -6,6 +6,7 @@ mailincludedir = $(privincludedir)/mail include $(top_srcdir)/glib-gen.mak glib_enum_headers=e-mail-enums.h +glib_enum_output=e-mail-enumtypes glib_enum_define=E_MAIL glib_enum_prefix=e_mail |