Debian Codegraph @

themes/hicolor/Makefile.am

raw
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 $(NULL)
11
12 private_icons = \
13 hicolor_actions_24x24_hb-document-new.png \
14 hicolor_actions_24x24_hb-document-open.png \
15 hicolor_actions_24x24_hb-document-print.png \
16 hicolor_actions_24x24_hb-document-save.png \
17 hicolor_actions_24x24_hb-account.png \
18 hicolor_actions_24x24_hb-archive.png \
19 hicolor_actions_24x24_hb-assign.png \
20 hicolor_actions_24x24_hb-budget.png \
21 hicolor_actions_24x24_hb-category.png \
22 hicolor_actions_24x24_hb-clear.png \
23 hicolor_actions_24x24_hb-donate.png \
24 hicolor_actions_24x24_hb-file-export.png \
25 hicolor_actions_24x24_hb-file-import.png \
26 hicolor_actions_24x24_hb-filter.png \
27 hicolor_actions_24x24_hb-go-down.png \
28 hicolor_actions_24x24_hb-go-up.png \
29 hicolor_actions_24x24_hb-help.png \
30 hicolor_actions_24x24_hb-legend.png \
31 hicolor_actions_24x24_hb-life-energy.png \
32 hicolor_actions_24x24_hb-ope-add.png \
33 hicolor_actions_24x24_hb-ope-cleared.png \
34 hicolor_actions_24x24_hb-ope-delete.png \
35 hicolor_actions_24x24_hb-ope-edit.png \
36 hicolor_actions_24x24_hb-ope-future.png \
37 hicolor_actions_24x24_hb-ope-herit.png \
38 hicolor_actions_24x24_hb-ope-multiedit.png \
39 hicolor_actions_24x24_hb-ope-reconciled.png \
40 hicolor_actions_24x24_hb-ope-show.png \
41 hicolor_actions_24x24_hb-payee.png \
42 hicolor_actions_24x24_hb-rate.png \
43 hicolor_actions_24x24_hb-rep-balance.png \
44 hicolor_actions_24x24_hb-rep-budget.png \
45 hicolor_actions_24x24_hb-rep-stats.png \
46 hicolor_actions_24x24_hb-rep-time.png \
47 hicolor_actions_24x24_hb-rep-vehicle.png \
48 hicolor_actions_24x24_hb-view-bar.png \
49 hicolor_actions_24x24_hb-view-column.png \
50 hicolor_actions_24x24_hb-view-donut.png \
51 hicolor_actions_24x24_hb-view-line.png \
52 hicolor_actions_24x24_hb-view-list.png \
53 hicolor_actions_24x24_hb-view-pie.png \
54 hicolor_actions_24x24_hb-view-progress.png \
55 hicolor_actions_24x24_hb-view-refresh.png \
56 hicolor_actions_24x24_hb-view-stack.png \
57 hicolor_actions_24x24_hb-view-stack100.png \
58 hicolor_status_16x16_hb-changes-allow.png \
59 hicolor_status_16x16_hb-changes-prevent.png \
60 hicolor_status_16x16_hb-gf-blue.png \
61 hicolor_status_16x16_hb-gf-green.png \
62 hicolor_status_16x16_hb-gf-none.png \
63 hicolor_status_16x16_hb-gf-orange.png \
64 hicolor_status_16x16_hb-gf-purple.png \
65 hicolor_status_16x16_hb-gf-red.png \
66 hicolor_status_16x16_hb-gf-yellow.png \
67 hicolor_status_16x16_hb-file-valid.png \
68 hicolor_status_16x16_hb-file-invalid.png \
69 hicolor_status_16x16_hb-item-added.png \
70 hicolor_status_16x16_hb-item-auto.png \
71 hicolor_status_16x16_hb-item-budget.png \
72 hicolor_status_16x16_hb-item-closed.png \
73 hicolor_status_16x16_hb-item-edited.png \
74 hicolor_status_16x16_hb-item-forced.png \
75 hicolor_status_16x16_hb-item-future.png \
76 hicolor_status_16x16_hb-item-import.png \
77 hicolor_status_16x16_hb-item-pending.png \
78 hicolor_status_16x16_hb-item-remind.png \
79 hicolor_status_16x16_hb-item-similar.png \
80 hicolor_status_16x16_hb-item-clear.png \
81 hicolor_status_16x16_hb-item-recon.png \
82 hicolor_status_16x16_hb-item-reconlock.png \
83 hicolor_status_16x16_hb-item-void.png \
84 hicolor_status_16x16_hb-pm-cash.png \
85 hicolor_status_16x16_hb-pm-ccard.png \
86 hicolor_status_16x16_hb-pm-check.png \
87 hicolor_status_16x16_hb-pm-dcard.png \
88 hicolor_status_16x16_hb-pm-deposit.png \
89 hicolor_status_16x16_hb-pm-directdebit.png \
90 hicolor_status_16x16_hb-pm-epayment.png \
91 hicolor_status_16x16_hb-pm-fifee.png \
92 hicolor_status_16x16_hb-pm-intransfer.png \
93 hicolor_status_16x16_hb-pm-none.png \
94 hicolor_status_16x16_hb-pm-mobphone.png \
95 hicolor_status_16x16_hb-pm-standingorder.png \
96 hicolor_status_16x16_hb-pm-transfer.png \
97 hicolor_status_16x16_hb-quicktips.png \
98 hicolor_status_48x48_prf-advanced.png \
99 hicolor_status_48x48_prf-backup.png \
100 hicolor_status_48x48_prf-euro.png \
101 hicolor_status_48x48_prf-folder.png \
102 hicolor_status_48x48_prf-forecast.png \
103 hicolor_status_48x48_prf-general.png \
104 hicolor_status_48x48_prf-import.png \
105 hicolor_status_48x48_prf-interface.png \
106 hicolor_status_48x48_prf-interface-theme.png \
107 hicolor_status_48x48_prf-interface-color.png \
108 hicolor_status_48x48_prf-locale.png \
109 hicolor_status_48x48_prf-report.png \
110 hicolor_status_48x48_prf-transaction.png \
111 hicolor_status_48x48_prf-transaction-dialog.png \
112 hicolor_status_48x48_prf-transaction-transfer.png \
113 hicolor_status_48x48_prf-transaction-payment.png \
114 $(NULL)
115
116
117 EXTRA_DIST = \
118 $(public_icons) \
119 $(private_icons) \
120 $(noinst_DATA) \
121 $(NULL)
122
123 ###############################################################################
124
125 gtk_update_icon_cache = gtk-update-icon-cache -f -t
126
127 update-icon-cache:
128 @-if test -z "$(DESTDIR)"; then \
129 echo "Updating Gtk icon cache in '$(DESTDIR)'"; \
130 for theme in $(public_icons_themes); do \
131 echo " > $(datadir)/icons/$$theme."; \
132 $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
133 $(gtk_update_icon_cache) $(DESTDIR)$(pkgdatadir)/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 theme in $(public_icons_themes); do \
144 cp index.theme $(DESTDIR)$(pkgdatadir)/icons/$$theme/index.theme; \
145 done; \
146 for icon in $(public_icons); do \
147 THEME=`echo $$icon | cut -d_ -f1`; \
148 CONTEXT=`echo $$icon | cut -d_ -f2`; \
149 SIZE=`echo $$icon | cut -d_ -f3`; \
150 ICONFILE=`echo $$icon | cut -d_ -f4`; \
151 mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
152 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
153 done; \
154 for icon in $(private_icons); do \
155 THEME=`echo $$icon | cut -d_ -f1`; \
156 CONTEXT=`echo $$icon | cut -d_ -f2`; \
157 SIZE=`echo $$icon | cut -d_ -f3`; \
158 ICONFILE=`echo $$icon | cut -d_ -f4`; \
159 mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
160 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
161 done
162
163 uninstall-icons:
164 for theme in $(public_icons_themes); do \
165 rm $(DESTDIR)$(pkgdatadir)/icons/$$theme/index.theme; \
166 done; \
167 -for icon in $(public_icons); do \
168 THEME=`echo $$icon | cut -d_ -f1`; \
169 CONTEXT=`echo $$icon | cut -d_ -f2`; \
170 SIZE=`echo $$icon | cut -d_ -f3`; \
171 ICONFILE=`echo $$icon | cut -d_ -f4`; \
172 rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
173 done; \
174 for icon in $(private_icons); do \
175 THEME=`echo $$icon | cut -d_ -f1`; \
176 CONTEXT=`echo $$icon | cut -d_ -f2`; \
177 SIZE=`echo $$icon | cut -d_ -f3`; \
178 ICONFILE=`echo $$icon | cut -d_ -f4`; \
179 rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
180 done
181
182 install-data-local: install-icons update-icon-cache
183
184 uninstall-local: uninstall-icons update-icon-cache