summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:24:23 -0300
committerPerberos <[email protected]>2011-12-01 22:24:23 -0300
commit0e004c696b0e68b2cff37a4c3315b022a35eaf43 (patch)
tree43261e815529cb9518ed7be37af13b846af8b26b /data/Makefile.am
downloadcaja-0e004c696b0e68b2cff37a4c3315b022a35eaf43.tar.bz2
caja-0e004c696b0e68b2cff37a4c3315b022a35eaf43.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am54
1 files changed, 54 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 00000000..0e8fb977
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,54 @@
+NULL =
+
+xml_in_files = caja.xml.in
+xml_files = $(xml_in_files:.xml.in=.xml)
+@INTLTOOL_XML_RULE@
+
+desktopdir = $(datadir)/applications
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+desktop_in_files = \
+ caja.desktop.in \
+ caja-home.desktop.in \
+ caja-computer.desktop.in \
+ caja-folder-handler.desktop.in \
+ caja-file-management-properties.desktop.in \
+ caja-browser.desktop.in \
+ caja-autorun-software.desktop.in
+@INTLTOOL_DESKTOP_RULE@
+
+mimedir = $(datadir)/mime/packages
+mime_DATA = $(xml_files)
+
+cajadatadir = $(datadir)/caja
+
+cajadata_DATA = \
+ browser.xml \
+ caja-extras.placeholder \
+ caja-suggested.placeholder \
+ $(NULL)
+
+EXTRA_DIST = $(cajadata_DATA) \
+ caja.desktop \
+ caja.desktop.in \
+ $(xml_in_files) \
+ $(desktop_in_files) \
+ $(NULL)
+
+CLEANFILES = $(xml_files) \
+ $(desktop_DATA) \
+ $(NULL)
+
+SUBDIRS = \
+ icons \
+ patterns \
+ $(NULL)
+
+install-data-hook:
+if ENABLE_UPDATE_MIMEDB
+ $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
+endif
+
+uninstall-hook:
+if ENABLE_UPDATE_MIMEDB
+ $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
+endif