File: Makefile.am

package info (click to toggle)
aobook 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,656 kB
  • sloc: ansic: 35,302; sh: 1,230; makefile: 300
file content (26 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
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
EXTRA_DIST = aobook.desktop aobook.png aobook.svg

desktopdir = $(datadir)/applications
desktop_DATA = aobook.desktop

icondir = $(datadir)/icons/hicolor/48x48/apps
icon_DATA = aobook.png

svgdir = $(datadir)/icons/hicolor/scalable/apps
svg_DATA = aobook.svg

## rule

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

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