File: Makefile.am

package info (click to toggle)
reinteract 0.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,884 kB
  • ctags: 1,244
  • sloc: python: 9,276; sh: 3,883; xml: 780; objc: 311; makefile: 253; ansic: 201
file content (37 lines) | stat: -rw-r--r-- 1,115 bytes parent folder | download | duplicates (2)
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
35
36
37
icondir = $(datadir)/icons/hicolor/scalable/apps
icon_DATA = reinteract.svg

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

mimedir = $(datadir)/mime/packages
mime_DATA = reinteract.xml

# Install the ICO to use in the About dialog
pkgdata_DATA=					\
	Reinteract.ico

EXTRA_DIST=					\
	$(desktop_DATA)				\
	$(icon_DATA)				\
	$(mime_DATA)				\
	Info.plist				\
	MainMenu.nib/classes.nib		\
	MainMenu.nib/info.nib			\
	MainMenu.nib/keyedobjects.nib		\
	Reinteract.ico				\
	Reinteract.icns

# Calling update-mime-database is necessary to get the associations
# in reinteract.xml to work properly on a XDG-compliant system; however
# it makes things hard on packagers since there are a bunch of stray
# files in the install root (and it complicates 'make uninstall')
#
# We could have --disable-update-mime or something in configure.ac,
# but just skip it. Most people will be using packaged versions anyways.
#
# install-data-hook:
# 	-update-mime-database $(DESTDIR)$(datadir)/mime > /dev/null 2>&1
#
# uninstall-hook:
# 	-update-mime-database $(DESTDIR)$(datadir)/mime > /dev/null 2>&1