~elementary-os/elementaryos/os-patch-file-roller-bionic-old

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: RabbitBot
  • Date: 2018-02-05 12:55:45 UTC
  • Revision ID: rabbitbot@elementary.io-20180205125545-nmwn0wosptxjg5ei
Initial import, version 3.26.2-3ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = icons
 
2
 
 
3
desktopdir = $(datadir)/applications
 
4
desktop_in_in_files = org.gnome.FileRoller.desktop.in.in
 
5
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) 
 
6
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 
 
7
@INTLTOOL_DESKTOP_RULE@
 
8
 
 
9
matchdir = $(datadir)/file-roller
 
10
match_DATA = packages.match
 
11
 
 
12
servicedir = $(datadir)/dbus-1/services
 
13
service_in_files = org.gnome.FileRoller.service.in org.gnome.FileRoller.ArchiveManager1.service.in
 
14
service_DATA = $(service_in_files:.service.in=.service)
 
15
%.service : %.service.in Makefile
 
16
        $(AM_V_GEN) $(SED) -e "s|\@bindir\@|$(bindir)|" $< > $@
 
17
 
 
18
gsettings_SCHEMAS = org.gnome.FileRoller.gschema.xml
 
19
 
 
20
appdatadir = $(datadir)/metainfo
 
21
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
 
22
appdata_in_files = org.gnome.FileRoller.appdata.xml.in
 
23
 
 
24
@INTLTOOL_XML_RULE@
 
25
 
 
26
@GSETTINGS_RULES@
 
27
 
 
28
convertdir = $(datadir)/GConf/gsettings
 
29
convert_DATA = file-roller.convert
 
30
 
 
31
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
32
 
 
33
install-data-hook: update-cache
 
34
uninstall-hook: update-cache
 
35
update-cache:
 
36
        if test -z "$(DESTDIR)"; then \
 
37
                echo "Updating Gtk icon cache."; \
 
38
                $(gtk_update_icon_cache); \
 
39
        else \
 
40
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
 
41
                echo "***   $(gtk_update_icon_cache)"; \
 
42
        fi
 
43
 
 
44
EXTRA_DIST =                            \
 
45
        file-roller.convert             \
 
46
        org.gnome.ArchiveManager1.xml   \
 
47
        packages.match.in               \
 
48
        packages.match                  \
 
49
        $(appdata_in_files)             \
 
50
        $(appdata_DATA)                 \
 
51
        $(desktop_in_in_files)          \
 
52
        $(desktop_in_files)             \
 
53
        $(desktop_DATA)                 \
 
54
        $(gsettings_SCHEMAS)            \
 
55
        $(service_in_files)             \
 
56
        $(NULL)
 
57
 
 
58
DISTCLEANFILES =                        \
 
59
        $(desktop_in_files)             \
 
60
        $(appdata_DATA)                 \
 
61
        $(desktop_DATA)                 \
 
62
        $(service_DATA)                 \
 
63
        $(NULL)
 
64
 
 
65
dist-hook:
 
66
if DESKTOP_VALIDATE
 
67
        desktop-file-validate $(desktop_DATA)
 
68
endif
 
69
 
 
70
-include $(top_srcdir)/git.mk