diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-27 19:54:44 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:57 +0800 |
commit | 19d60cd09f314c96ff1fdc90b121b070833e9fe0 (patch) | |
tree | c520859fdce6b2540e72b1b5254853e48ec8729f /Makefile.am | |
parent | 50382e8b8cac78a4eeb7a6be37141f91e1ca883f (diff) | |
download | gsoc2013-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 'Makefile.am')
0 files changed, 0 insertions, 0 deletions