summaryrefslogtreecommitdiff
path: root/SparkleShare/Linux/Pixmaps/icons/Makefile.am
blob: 175667c15bd1f0cd203c02d5b18f4b262c496f9d (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
SUBDIRS = ubuntu-mono-dark \
	ubuntu-mono-light\
	gnome

theme = hicolor
system_themedir = $(datadir)/icons/$(theme)
app_themedir = $(pkgdatadir)/icons/$(theme)

system_theme_icons = \
	apps,sparkleshare-16.png \
	apps,sparkleshare-22.png	\
	apps,sparkleshare-24.png \
	apps,sparkleshare-256.png \
	apps,sparkleshare-32.png \
	apps,sparkleshare-48.png \
    status,process-syncing-up-24.png \
    status,process-syncing-down-24.png \
    status,process-syncing-24.png \
    status,process-syncing-error-24.png \
    status,process-syncing-up-48.png \
    status,process-syncing-down-48.png \
    status,process-syncing-48.png \
    status,process-syncing-error-48.png

app_theme_icons = \
	animations,process-working-22.png \
	status,document-added-12.png \
	status,document-edited-12.png \
	status,document-deleted-12.png \
	status,document-moved-12.png \
	status,list-point-16.png

install_icon_exec = $(top_srcdir)/build/icon-theme-installer \
	-t "$(theme)" \
	-s "$(srcdir)" \
	-d "x$(DESTDIR)" \
	-m "$(mkinstalldirs)" \
	-x "$(INSTALL_DATA)"

install-data-local:
	@-$(install_icon_exec) -i -b "$(system_themedir)" $(system_theme_icons)
	@-$(install_icon_exec) -i -b "$(app_themedir)" $(app_theme_icons)

uninstall-hook:
	@-$(install_icon_exec) -u -b "$(system_themedir)" $(system_theme_icons)
	@-$(install_icon_exec) -u -b "$(app_themedir)" $(app_theme_icons)

MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = $(wildcard *.png *.svg)