blob: 1b88d56ca22eb93243085fcf2470ad0effeb281b (
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
|
SUBDIRS = ui icons
desktopdir = $(datadir)/applications
desktop_in_in_files = engrampa.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
matchdir = $(datadir)/engrampa
match_DATA = packages.match
servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.Engrampa.service.in
service_DATA = $(service_in_files:.service.in=.service)
$(service_DATA): $(service_in_files) Makefile
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = engrampa.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
gsettingsschema_in_files = org.mate.engrampa.gschema.xml.in
gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
.PRECIOUS: $(gsettings_SCHEMAS)
@GSETTINGS_RULES@
man_MANS = engrampa.1
convertdir = $(datadir)/MateConf/gsettings
convert_DATA = engrampa.convert
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-cache
uninstall-hook: update-cache
update-cache:
if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
EXTRA_DIST = \
engrampa.convert \
packages.match.in \
packages.match \
$(desktop_in_in_files) \
$(desktop_in_files) \
$(desktop_DATA) \
$(gsettingsschema_in_files) \
$(appdata_in_files) \
$(man_MANS) \
$(service_in_files) \
$(NULL)
DISTCLEANFILES = \
$(desktop_in_files) \
$(desktop_DATA) \
$(service_DATA) \
$(NULL)
CLEANFILES = \
$(gsettings_SCHEMAS) \
engrampa.appdata.xml \
$(NULL)
dist-hook:
cd $(distdir); rm -f $(CLEANFILES)
-include $(top_srcdir)/git.mk
|