File: Makefile.am

package info (click to toggle)
aghermann 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,252 kB
  • ctags: 3,529
  • sloc: cpp: 28,014; makefile: 467; sh: 276; xml: 20; ansic: 9
file content (31 lines) | stat: -rw-r--r-- 978 bytes parent folder | download | duplicates (5)
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
28
29
30
31
desktop_in_files = aghermann.desktop.in.in edfhed-gtk.desktop.in.in
desktop_files = $(desktop_in_files:.desktop.in.in=.desktop)

applicationsdir := $(datadir)/applications
applications_DATA = $(desktop_files)

iconthemedir = $(datadir)/icons/hicolor
appiconscalabledir = $(iconthemedir)/scalable/apps
dist_appiconscalable_DATA = \
	icons/scalable/aghermann.svg \
	icons/scalable/edfhed-gtk.svg

UPDATE_ICON_CACHE = gtk-update-icon-cache --ignore-theme-index --force
install-data-hook: install-update-icon-cache
uninstall-hook: uninstall-update-icon-cache

install-update-icon-cache:
	$(AM_V_at)$(POST_INSTALL)
	test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"

uninstall-update-icon-cache:
	$(AM_V_at)$(POST_UNINSTALL)
	test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"

EXTRA_DIST := \
	aghermann.desktop.in edfhed-gtk.desktop.in \
	icons/scalable/aghermann.svg \
	icons/scalable/edfhed-gtk.svg

CLEANFILES := \
	aghermann.desktop edfhed-gtk.desktop