From 84735ec5056e864684245f90a0116ce09cc42b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 22 Aug 2011 20:38:36 +0100 Subject: Use gsettings to store the status of "Show time in Menu Bar" option Fixes https://bugs.launchpad.net/indicator-power/+bug/829853 --- Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 932775f..70af9f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,6 +2,13 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} SUBDIRS = po +gsettingsschema_in_files = data/org.ubuntu.indicator-power.gschema.xml.in +gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) + +@INTLTOOL_XML_NOMERGE_RULE@ + +@GSETTINGS_RULES@ + ################### # Indicator Stuff ################### @@ -24,7 +31,12 @@ libpower_la_LDFLAGS = \ ############################################################ -EXTRA_DIST = autogen.sh +EXTRA_DIST = \ + $(gsettingsschema_in_files) \ + autogen.sh + +CLEANFILES = \ + $(gsettings_SCHEMAS) DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall -- cgit v1.2.3