summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2015-10-07 19:01:53 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2015-10-07 19:03:02 -0500
commitacc58ea8058d92ad700d97539f196d6edc69ca3f (patch)
tree803dce840e43dff2dfd1974bed49c4436ba4e574
parent72e0547f0b9835e0a129c53cfb9492f24f8680f1 (diff)
downloadgnome-settings-daemon-acc58ea8058d92ad700d97539f196d6edc69ca3f.tar.gz
common: Ensure enums are generated before sources are built
Probably fixes this build race: gsd-device-manager.c: In function 'gsd_device_class_init': gsd-device-manager.c:208:13: error: 'GSD_TYPE_DEVICE_TYPE' undeclared (first use in this function) GSD_TYPE_DEVICE_TYPE, 0, ^ https://bugzilla.gnome.org/show_bug.cgi?id=756212
-rw-r--r--plugins/common/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/common/Makefile.am b/plugins/common/Makefile.am
index 7dd42195..0f853517 100644
--- a/plugins/common/Makefile.am
+++ b/plugins/common/Makefile.am
@@ -3,6 +3,7 @@ plugin_name = common
noinst_LTLIBRARIES = libcommon.la
GSD_COMMON_ENUM_FILES = gsd-common-enums.c gsd-common-enums.h
+BUILT_SOURCES = $(GSD_COMMON_ENUM_FILES)
gsd-common-enums.h: gsd-device-manager.h Makefile
$(AM_V_GEN)($(GLIB_MKENUMS) \