File: Makefile.am

package info (click to toggle)
gnumeric 1.12.57-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 111,496 kB
  • sloc: ansic: 296,601; xml: 56,363; perl: 6,615; sh: 5,288; makefile: 2,981; yacc: 1,341; python: 389
file content (27 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (2)
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
SUBDIRS = 16x16 22x22 24x24 32x32 48x48 64x64 256x256

EXTRA_DIST = fake-index-theme win32-gnumeric.ico

gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

fake_index_theme_target =
if WITH_WIN32
fake_index_theme_target += install-fake-index-theme

install-fake-index-theme: fake-index-theme
	install -D -m 0644 fake-index-theme $(datadir)/icons/hicolor/index.theme

winicondir = $(datadir)/pixmaps
winicon_DATA = win32-gnumeric.ico
endif

install-data-hook: update-icon-cache $(fake_index_theme_target)
uninstall-hook: update-icon-cache
update-icon-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