aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-27 19:54:44 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:57 +0800
commit19d60cd09f314c96ff1fdc90b121b070833e9fe0 (patch)
treec520859fdce6b2540e72b1b5254853e48ec8729f /mail
parent50382e8b8cac78a4eeb7a6be37141f91e1ca883f (diff)
downloadgsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.tar
gsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.tar.gz
gsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.tar.bz2
gsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.tar.lz
gsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.tar.xz
gsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.tar.zst
gsoc2013-evolution-19d60cd09f314c96ff1fdc90b121b070833e9fe0.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.am1
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