File: Makefile.am

package info (click to toggle)
banshee 2.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 43,392 kB
  • sloc: cs: 137,906; xml: 90,824; sh: 11,616; ansic: 4,829; makefile: 2,910; python: 38
file content (34 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (4)
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
32
33
34
desktopdir = $(datadir)/applications
desktop_in_files = $(wildcard *.desktop.in.in)
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)

DESKTOP_FRAMEWORK_DEPS = common.desktop.in update-desktop-file.sh
DESKTOP_MIME_DEPS = $(wildcard *.desktop.mime)

if ENABLE_RELEASE
UPDATE_MIME_FILES = no
else
UPDATE_MIME_FILES = yes
endif

%.desktop.in: %.desktop.in.in $(DESKTOP_FRAMEWORK_DEPS) $(DESKTOP_MIME_DEPS)
	./update-desktop-file.sh "$<" "$(VERSION)" "$(UPDATE_MIME_FILES)" > "$@"

@INTLTOOL_DESKTOP_RULE@

install-data-hook:
	test -f $(DESTDIR)$(datadir)/applications/defaults.list && \
	test -z $(DESTDIR) && update-desktop-database $(DESTDIR)$(datadir)/applications || :

EXTRA_DIST = \
	$(desktop_in_files) \
	$(DESKTOP_MIME_DEPS) \
	$(DESKTOP_FRAMEWORK_DEPS)

CLEANFILES = \
	$(desktop_DATA)

MAINTAINERCLEANFILES = \
	Makefile.in \
	common.desktop