File: Makefile.am

package info (click to toggle)
testdisk 7.2-0.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,204 kB
  • sloc: ansic: 83,958; sh: 4,713; cpp: 1,643; makefile: 613
file content (25 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (3)
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
EXTRA_DIST = photorec.ico testdisk.ico \
	     48x48/apps/qphotorec.png \
	     scalable/apps/qphotorec.svg

iconsdir = $(datadir)/icons/hicolor


gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)
if USEQT
  nobase_icons_DATA = 48x48/apps/qphotorec.png \
	scalable/apps/qphotorec.svg
  UPDATE_ICON_CACHE=update-icon-cache
endif

install-data-hook: $(UPDATE_ICON_CACHE)
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