[gnome-control-center] info: Add code to update disk space helper



commit 18524ddb9db17a97b4a1c05b8ff2aef8fb7670b1
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 19 11:59:41 2012 +0100

    info: Add code to update disk space helper

 panels/info/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/panels/info/Makefile.am b/panels/info/Makefile.am
index dc9b8b4..fa58fd6 100644
--- a/panels/info/Makefile.am
+++ b/panels/info/Makefile.am
@@ -42,8 +42,13 @@ desktopdir = $(datadir)/applications
 desktop_in_files = gnome-info-panel.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
-CLEANFILES = $(desktop_in_files) $(desktop_DATA)
+SPACEDIR=$(top_srcdir)/../gnome-settings-daemon/plugins/housekeeping/
+SPACEFILES=gsd-disk-space-helper.c gsd-disk-space-helper.h
+update-from-gsd:
+	FILES="$(SPACEFILES)" DIR="$(SPACEDIR)" $(top_srcdir)/update-from-gsd.sh && changed=true ; \
+	git commit -m "info: Update from gnome-settings-daemon" $(SPACEFILES)
 
+CLEANFILES = $(desktop_in_files) $(desktop_DATA)
 EXTRA_DIST = hostnames-test.txt
 
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]