summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-06 19:30:49 -0300
committerPerberos <[email protected]>2011-11-06 19:30:49 -0300
commita8d28a6ce7e0c56dacba5d527d9134573a008902 (patch)
tree8852602004b5a13cc5d1ce3ecd7a314be81d1198 /data/Makefile.am
downloadeom-a8d28a6ce7e0c56dacba5d527d9134573a008902.tar.bz2
eom-a8d28a6ce7e0c56dacba5d527d9134573a008902.tar.xz
inicial
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am55
1 files changed, 55 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..b89623a
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,55 @@
+SUBDIRS = pixmaps icons
+
+@INTLTOOL_DESKTOP_RULE@
+
+DESKTOP_IN_FILES= eom.desktop.in.in
+DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
+
+desktopdir = $(datadir)/applications
+desktop_DATA = $(DESKTOP_FILES)
+
+@INTLTOOL_SCHEMAS_RULE@
+
+schemas_in_files = eom.schemas.in
+schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+
+gladedir = $(pkgdatadir)
+glade_DATA = eom-image-properties-dialog.ui \
+ eom-multiple-save-as-dialog.ui \
+ eom-preferences-dialog.ui
+
+uidir = $(datadir)/eom
+UI_FILES = \
+ eom-ui.xml \
+ eom-toolbar.xml
+
+ui_DATA = $(UI_FILES)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = eom.pc
+
+gtkrcdir = $(pkgdatadir)
+gtkrc_DATA = gtkrc
+
+install-data-local:
+if MATECONF_SCHEMAS_INSTALL
+ if test -z "$(DESTDIR)" ; then \
+ for p in $(schemas_DATA) ; do \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p >&1 > /dev/null; \
+ done \
+ fi
+endif
+
+EXTRA_DIST = \
+ $(gtkrc_DATA) \
+ $(glade_DATA) \
+ $(DESKTOP_IN_FILES) \
+ $(schemas_in_files) \
+ $(UI_FILES)
+
+DISTCLEANFILES = \
+ $(DESKTOP_FILES) \
+ $(schemas_DATA)
+
+-include $(top_srcdir)/git.mk