File: Makefile.am

package info (click to toggle)
gpredict 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,280 kB
  • sloc: ansic: 40,611; makefile: 486; python: 145; sh: 85; xml: 31
file content (28 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (6)
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
desktop_in_files = gpredict.desktop.in
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST = $(desktop_in_files) $(desktop_DATA)

DISTCLEANFILES = gpredict.desktop

UPDATE_DESKTOP = \
	if which update-desktop-database>/dev/null 2>&1 ; then \
		update-desktop-database; \
	fi

install-data-hook:
if UPDATE_CACHES
	$(UPDATE_DESKTOP)
else
	@true
endif

uninstall-hook:
if UPDATE_CACHES
	$(UPDATE_DESKTOP)
else
	@true
endif