[gnome-settings-daemon] power: Ensure enums are in BUILT_SOURCES
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Ensure enums are in BUILT_SOURCES
- Date: Mon, 21 Jan 2013 15:47:48 +0000 (UTC)
commit 1b9fe6cdcb08410fec8bde1e1f7c4a4155dc53a4
Author: Colin Walters <walters verbum org>
Date: Mon Jan 21 10:37:19 2013 -0500
power: Ensure enums are in BUILT_SOURCES
Should fix a build race condition.
plugins/power/Makefile.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/Makefile.am b/plugins/power/Makefile.am
index 8850826..83b7170 100644
--- a/plugins/power/Makefile.am
+++ b/plugins/power/Makefile.am
@@ -1,3 +1,5 @@
+BUILT_SOURCES =
+
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)
+
gsdpowerconstants.py: gsd-power-constants-update.pl gsd-power-constants.h
$(AM_V_GEN) $(srcdir)/gsd-power-constants-update.pl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]