Commit 1b9fe6cd authored by Colin Walters's avatar Colin Walters Committed by Bastien Nocera

power: Ensure enums are in BUILT_SOURCES

Should fix a build race condition.
parent b0532b1d
plugin_name = power
plugin_LTLIBRARIES = \
......@@ -113,6 +115,8 @@ gsd-power-enums.c: gsd-power-constants.h gsm-inhibitor-flag.h gsm-presence-flag.
--vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
$(srcdir)/gsm-inhibitor-flag.h $(srcdir)/gsm-presence-flag.h > $@)
BUILT_SOURCES += $(GSD_POWER_ENUM_FILES) gsd-power-constants.h
$(AM_V_GEN) $(srcdir)/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment