aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2008-10-30 12:31:31 -0500
committerTed Gould <ted@canonical.com>2008-10-30 12:31:31 -0500
commit237fca7aaef00e5d25c8be74d802ea84416fe80f (patch)
tree77ab305f7d94c53a23cf979c09b7d7dc68dc13bb /data/Makefile.am
parent9b4a5fb6e1df828104779dc189f80b92fdcbf4ff (diff)
downloadlibayatana-indicator-237fca7aaef00e5d25c8be74d802ea84416fe80f.tar.gz
libayatana-indicator-237fca7aaef00e5d25c8be74d802ea84416fe80f.tar.bz2
libayatana-indicator-237fca7aaef00e5d25c8be74d802ea84416fe80f.zip
Setting up the data directories and getting everything to translate nicely
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am60
1 files changed, 60 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..7fc4a6f
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,60 @@
+# This file will be processed with automake to create Makefile.in
+
+##############################
+# Bonobo .server
+##############################
+
+serverdir = \
+ $(libdir)/bonobo/servers
+server_in_files = \
+ GNOME_IndicatorApplet.server.in
+server_DATA = \
+ $(server_in_files:.server.in=.server)
+
+$(server_in_files): $(server_in_files:.server.in=.server.in.in)
+ sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" -e "s|\@VERSION\@|$(VERSION)|" $< > $@
+
+@INTLTOOL_SERVER_RULE@
+
+
+##############################
+# GConf Schema
+##############################
+
+schemadir = \
+ $(GCONF_SCHEMA_FILE_DIR)
+
+schema_in_files = \
+ indicator-applet.schemas.in
+
+schema_DATA = \
+ $(schema_in_files:.schemas.in=.schemas)
+
+@INTLTOOL_SCHEMAS_RULE@
+
+
+##############################
+# Autojunk
+##############################
+
+CLEANFILES = \
+ $(server_in_files) \
+ $(server_DATA) \
+ $(schema_DATA) \
+ *.bak
+
+EXTRA_DIST = \
+ GNOME_IndicatorApplet.server.in.in \
+ $(schema_in_files)
+
+MAINTAINERCLEANFILES = \
+ Makefile.in
+
+if GCONF_SCHEMAS_INSTALL
+install-data-local:
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
+ gconftool-2 --makefile-install-rule $(schema_DATA)
+else
+install-data-local:
+endif
+