blob: 72c4379995797e5e62fecc5b2f7cb047aeaf3559 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
NULL =
xml_in_files = caja.xml.in
xml_files = $(xml_in_files:.xml.in=.xml)
%.xml: %.xml.in
$(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
$(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service)
service_in_files = \
org.mate.freedesktop.FileManager1.service.in
org.mate.freedesktop.FileManager1.service: org.mate.freedesktop.FileManager1.service.in Makefile
$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
cajadatadir = $(datadir)/caja
cajadata_in_files = browser.xml.in
cajadata_DATA = \
browser.xml \
caja-extras.placeholder \
caja-suggested.placeholder \
caja.css \
caja-desktop.css \
a11y-caja-desktop-base.css \
caja-desktop-HighContrast.css \
caja-desktop-HighContrastInverse.css \
$(NULL)
# app data file
appdatadir = $(datadir)/metainfo
appdata_in_files = caja.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
$(appdata_DATA): $(appdata_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(cajadata_DATA) \
caja.desktop \
caja.desktop.in \
caja.css \
freedesktop-dbus-interfaces.xml \
$(xml_in_files) \
$(cajadata_in_files) \
$(desktop_in_files) \
$(service_in_files) \
$(appdata_in_files) \
$(NULL)
CLEANFILES = $(xml_files) \
$(desktop_DATA) \
$(service_DATA) \
caja.appdata.xml \
$(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
|