billreminder r619 - trunk/data
- From: ogmaciel svn gnome org
- To: svn-commits-list gnome org
- Subject: billreminder r619 - trunk/data
- Date: Fri, 15 Aug 2008 11:22:31 +0000 (UTC)
Author: ogmaciel
Date: Fri Aug 15 11:22:31 2008
New Revision: 619
URL: http://svn.gnome.org/viewvc/billreminder?rev=619&view=rev
Log:
Re-organization and cleanup. More to come
Modified:
trunk/data/Makefile.am
Modified: trunk/data/Makefile.am
==============================================================================
--- trunk/data/Makefile.am (original)
+++ trunk/data/Makefile.am Fri Aug 15 11:22:31 2008
@@ -2,23 +2,20 @@
SUBDIRS = images
+# Configuration Data
configdir = $(datadir)/billreminder
config_DATA = billreminder.cfg
-EXTRA_DIST = $(config_DATA)
+# GConf Schemas
schema_in_files = billreminder.schemas.in
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-EXTRA_DIST += $(schemas_DATA)
-endif
+#DBus Service
servicedir = $(DBUS_SERVICES_DIR)
service_in_files = billreminder.service.in
service_DATA = billreminder.service
-EXTRA_DIST += $(service_in_files)
+
CLEANFILES = $(service_DATA)
billreminder.service: billreminder.service.in
@@ -28,17 +25,19 @@
desktopdir = $(datadir)/applications
desktop_in_files = billreminder.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
- INTLTOOL_DESKTOP_RULE@
-EXTRA_DIST += $(desktop_in_files)
CLEANFILES += $(desktop_DATA)
autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = billreminderd.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
-EXTRA_DIST += $(autostart_in_files)
CLEANFILES += $(autostart_DATA)
+# Build rules
+ INTLTOOL_DESKTOP_RULE@
+ INTLTOOL_SCHEMAS_RULE@
+
+
if GCONF_SCHEMAS_INSTALL
install-data-local:
@GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
@@ -56,5 +55,13 @@
@true
endif
+EXTRA_DIST = \
+ $(config_DATA) \
+ $(schemas_DATA) \
+ $(service_in_files) \
+ $(desktop_in_files) \
+ $(autostart_in_files)
+
+
uninstall-hook:
rm -fr $(configdir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]