]> Dogcows Code - chaz/homebank/blob - data/icons/Makefile.am
import homebank-4.6.3
[chaz/homebank] / data / icons / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 NULL =
4
5 public_icons_themes = \
6 hicolor \
7 $(NULL)
8
9 public_icons = \
10 hicolor_apps_16x16_homebank.png \
11 hicolor_apps_22x22_homebank.png \
12 hicolor_apps_32x32_homebank.png \
13 hicolor_apps_48x48_homebank.png \
14 hicolor_apps_64x64_homebank.png \
15 hicolor_apps_scalable_homebank.svg \
16 $(NULL)
17
18 private_icons = \
19 hicolor_actions_16x16_hb-account.png \
20 hicolor_actions_22x22_hb-account.png \
21 hicolor_actions_16x16_hb-payee.png \
22 hicolor_actions_22x22_hb-payee.png \
23 hicolor_actions_16x16_hb-category.png \
24 hicolor_actions_22x22_hb-category.png \
25 hicolor_actions_16x16_hb-archive.png \
26 hicolor_actions_22x22_hb-archive.png \
27 hicolor_actions_16x16_hb-budget.png \
28 hicolor_actions_22x22_hb-budget.png \
29 hicolor_actions_16x16_hb-assign.png \
30 hicolor_actions_22x22_hb-assign.png \
31 hicolor_actions_16x16_hb-assign-run.png \
32 hicolor_actions_22x22_hb-assign-run.png \
33 hicolor_actions_16x16_hb-filter.png \
34 hicolor_actions_22x22_hb-filter.png \
35 hicolor_actions_16x16_hb-file-import.png \
36 hicolor_actions_22x22_hb-file-import.png \
37 hicolor_actions_48x48_hb-file-import.png \
38 hicolor_actions_16x16_hb-file-export.png \
39 hicolor_actions_22x22_hb-file-export.png \
40 hicolor_actions_16x16_hb-ope-show.png \
41 hicolor_actions_22x22_hb-ope-show.png \
42 hicolor_actions_16x16_hb-ope-add.png \
43 hicolor_actions_22x22_hb-ope-add.png \
44 hicolor_actions_16x16_hb-ope-herit.png \
45 hicolor_actions_22x22_hb-ope-herit.png \
46 hicolor_actions_16x16_hb-ope-edit.png \
47 hicolor_actions_22x22_hb-ope-edit.png \
48 hicolor_actions_16x16_hb-ope-delete.png \
49 hicolor_actions_22x22_hb-ope-delete.png \
50 hicolor_actions_16x16_hb-ope-valid.png \
51 hicolor_actions_22x22_hb-ope-valid.png \
52 hicolor_actions_16x16_hb-ope-auto.png \
53 hicolor_actions_22x22_hb-ope-auto.png \
54 hicolor_actions_16x16_hb-ope-remind.png \
55 hicolor_actions_22x22_hb-ope-remind.png \
56 hicolor_actions_16x16_hb-rep-stats.png \
57 hicolor_actions_22x22_hb-rep-stats.png \
58 hicolor_actions_16x16_hb-rep-balance.png \
59 hicolor_actions_22x22_hb-rep-balance.png \
60 hicolor_actions_16x16_hb-rep-time.png \
61 hicolor_actions_22x22_hb-rep-time.png \
62 hicolor_actions_16x16_hb-rep-budget.png \
63 hicolor_actions_22x22_hb-rep-budget.png \
64 hicolor_actions_16x16_hb-rep-vehicle.png \
65 hicolor_actions_22x22_hb-rep-vehicle.png \
66 hicolor_actions_22x22_hb-view-list.png \
67 hicolor_actions_22x22_hb-view-bar.png \
68 hicolor_actions_22x22_hb-view-pie.png \
69 hicolor_actions_22x22_hb-view-line.png \
70 hicolor_actions_22x22_hb-legend.png \
71 hicolor_actions_22x22_hb-rate.png \
72 hicolor_actions_16x16_lpi-help.png \
73 hicolor_status_22x22_btn-split.png \
74 hicolor_status_22x22_flt-inactive.png \
75 hicolor_status_22x22_flt-include.png \
76 hicolor_status_22x22_flt-exclude.png \
77 hicolor_status_16x16_pm-none.png \
78 hicolor_status_22x22_pm-none.png \
79 hicolor_status_16x16_pm-ccard.png \
80 hicolor_status_22x22_pm-ccard.png \
81 hicolor_status_16x16_pm-dcard.png \
82 hicolor_status_22x22_pm-dcard.png \
83 hicolor_status_16x16_pm-check.png \
84 hicolor_status_22x22_pm-check.png \
85 hicolor_status_16x16_pm-cash.png \
86 hicolor_status_22x22_pm-cash.png \
87 hicolor_status_16x16_pm-transfer.png \
88 hicolor_status_22x22_pm-transfer.png \
89 hicolor_status_16x16_pm-intransfer.png \
90 hicolor_status_22x22_pm-intransfer.png \
91 hicolor_status_16x16_pm-none.png \
92 hicolor_status_22x22_pm-none.png \
93 hicolor_status_16x16_pm-standingorder.png \
94 hicolor_status_22x22_pm-standingorder.png \
95 hicolor_status_16x16_pm-epayment.png \
96 hicolor_status_22x22_pm-epayment.png \
97 hicolor_status_16x16_pm-deposit.png \
98 hicolor_status_22x22_pm-deposit.png \
99 hicolor_status_16x16_pm-fifee.png \
100 hicolor_status_22x22_pm-fifee.png \
101 hicolor_status_16x16_pm-directdebit.png \
102 hicolor_status_22x22_pm-directdebit.png \
103 hicolor_status_22x22_prf-general.png \
104 hicolor_status_48x48_prf-general.png \
105 hicolor_status_22x22_prf-interface.png \
106 hicolor_status_48x48_prf-interface.png \
107 hicolor_status_22x22_prf-columns.png \
108 hicolor_status_48x48_prf-columns.png \
109 hicolor_status_22x22_prf-display.png \
110 hicolor_status_48x48_prf-display.png \
111 hicolor_status_22x22_prf-euro.png \
112 hicolor_status_48x48_prf-euro.png \
113 hicolor_status_22x22_prf-report.png \
114 hicolor_status_48x48_prf-report.png \
115 hicolor_status_22x22_prf-import.png \
116 hicolor_status_48x48_prf-import.png \
117 $(NULL)
118
119 EXTRA_DIST = \
120 $(public_icons) \
121 $(private_icons) \
122 $(noinst_DATA) \
123 $(NULL)
124
125 ###############################################################################
126
127 gtk_update_icon_cache = gtk-update-icon-cache -f -t
128
129 update-icon-cache:
130 @-if test -z "$(DESTDIR)"; then \
131 echo "Updating Gtk icon cache."; \
132 for theme in $(public_icons_themes); do \
133 $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
134 done; \
135 else \
136 echo "*** Icon cache not updated. After (un)install, run this:"; \
137 for theme in $(public_icons_themes); do \
138 echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
139 done; \
140 fi
141
142 install-icons:
143 for icon in $(public_icons); do \
144 THEME=`echo $$icon | cut -d_ -f1`; \
145 CONTEXT=`echo $$icon | cut -d_ -f2`; \
146 SIZE=`echo $$icon | cut -d_ -f3`; \
147 ICONFILE=`echo $$icon | cut -d_ -f4`; \
148 mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
149 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
150 done; \
151 for icon in $(private_icons); do \
152 THEME=`echo $$icon | cut -d_ -f1`; \
153 CONTEXT=`echo $$icon | cut -d_ -f2`; \
154 SIZE=`echo $$icon | cut -d_ -f3`; \
155 ICONFILE=`echo $$icon | cut -d_ -f4`; \
156 mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
157 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
158 done
159
160 uninstall-icons:
161 -for icon in $(public_icons); do \
162 THEME=`echo $$icon | cut -d_ -f1`; \
163 CONTEXT=`echo $$icon | cut -d_ -f2`; \
164 SIZE=`echo $$icon | cut -d_ -f3`; \
165 ICONFILE=`echo $$icon | cut -d_ -f4`; \
166 rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
167 done; \
168 for icon in $(private_icons); do \
169 THEME=`echo $$icon | cut -d_ -f1`; \
170 CONTEXT=`echo $$icon | cut -d_ -f2`; \
171 SIZE=`echo $$icon | cut -d_ -f3`; \
172 ICONFILE=`echo $$icon | cut -d_ -f4`; \
173 rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
174 done
175
176 install-data-local: install-icons update-icon-cache
177
178 uninstall-local: uninstall-icons update-icon-cache
This page took 0.036365 seconds and 4 git commands to generate.