summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am26
1 files changed, 16 insertions, 10 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 20202cf2..314241a9 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -7,17 +7,21 @@ xml_files = $(xml_in_files:.xml.in=.xml)
$(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
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
-%.desktop: %.desktop.in
+desktop_DATA = \
+ caja.desktop \
+ caja-home.desktop \
+ caja-computer.desktop \
+ caja-folder-handler.desktop \
+ caja-file-management-properties.desktop \
+ caja-browser.desktop \
+ caja-autorun-software.desktop \
+ mate-network-scheme.desktop
+desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
+desktop_in_in_files = $(desktop_DATA:.desktop=.desktop.in.in)
+%.desktop.in: %.desktop.in.in
$(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+%.desktop: %.desktop.in
+ $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
@@ -60,12 +64,14 @@ EXTRA_DIST = $(cajadata_DATA) \
$(xml_in_files) \
$(cajadata_in_files) \
$(desktop_in_files) \
+ $(desktop_in_in_files) \
$(service_in_files) \
$(appdata_in_files) \
$(NULL)
CLEANFILES = $(xml_files) \
$(desktop_DATA) \
+ $(desktop_in_files) \
$(service_DATA) \
caja.appdata.xml \
$(NULL)