summaryrefslogtreecommitdiff
path: root/logview/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'logview/data/Makefile.am')
-rw-r--r--logview/data/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/logview/data/Makefile.am b/logview/data/Makefile.am
new file mode 100644
index 00000000..04efb96a
--- /dev/null
+++ b/logview/data/Makefile.am
@@ -0,0 +1,36 @@
+xmldir = $(pkgdatadir)
+xml_DATA = logview-toolbar.xml logview-filter.ui
+
+desktopdir = $(datadir)/applications
+desktop_in_files = mate-system-log.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in)
+ @sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
+@INTLTOOL_DESKTOP_RULE@
+
+man_MANS = mate-system-log.1
+
+schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
+schemas_in_files = mate-system-log.schemas.in
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+@INTLTOOL_SCHEMAS_RULE@
+
+install-data-local: $(schemas_DATA)
+if MATECONF_SCHEMAS_INSTALL
+ if test -z "$(DESTDIR)" ; then \
+ for p in $^ ; do \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $$p 2>&1 > /dev/null; \
+ done \
+ fi
+endif
+
+EXTRA_DIST = \
+ mate-system-log.desktop.in.in \
+ $(xml_DATA) \
+ $(man_MANS) \
+ $(schemas_in_files)
+
+DISTCLEANFILES = \
+ $(desktop_DATA) \
+ $(desktop_in_files) \
+ $(schemas_DATA)