summaryrefslogtreecommitdiff
path: root/baobab/data/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
committerStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
commitef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch)
tree09d541636a16cb38448fe6183289ebdc3080c1bf /baobab/data/Makefile.am
downloadmate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2
mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz
Moved from Mate-Extra repository
Diffstat (limited to 'baobab/data/Makefile.am')
-rw-r--r--baobab/data/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am
new file mode 100644
index 00000000..66bbd2b9
--- /dev/null
+++ b/baobab/data/Makefile.am
@@ -0,0 +1,39 @@
+uidir = $(datadir)/mate-disk-usage-analyzer
+ui_DATA = baobab-main-window.ui \
+ baobab-dialog-scan-props.ui
+
+baobabappdir = $(datadir)/applications
+baobabapp_in_files = mate-disk-usage-analyzer.desktop.in
+baobabapp_DATA = $(baobabapp_in_files:.desktop.in=.desktop)
+
+$(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in)
+ sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
+
+@INTLTOOL_DESKTOP_RULE@
+
+schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
+schemas_in_files = baobab.schemas.in
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+@INTLTOOL_SCHEMAS_RULE@
+
+man_MANS = mate-disk-usage-analyzer.1
+
+if MATECONF_SCHEMAS_INSTALL
+install-data-local:
+ if test -z "$(DESTDIR)" ; then \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(schemas_DATA) ; \
+ fi
+else
+install-data-local:
+endif
+
+EXTRA_DIST = \
+ $(ui_DATA) \
+ mate-disk-usage-analyzer.desktop.desktop.in.in \
+ $(schemas_in_files) \
+ $(man_MANS)
+
+CLEANFILES = \
+ $(baobabapp_in_files) \
+ $(baobabapp_DATA) \
+ $(schemas_DATA)