dc7384d034
in the path anymore (e.g. certain suse versions), which means the desktop files didn't work. Now the configured path is automatically inserted into the desktop file. Additional the categories was shortened. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
28 lines
1.1 KiB
Makefile
28 lines
1.1 KiB
Makefile
# data/
|
|
|
|
SUBDIRS = fonts herrings karts models music po sfx textures tracks
|
|
pkgdatadir = $(datadir)/games/@PACKAGE@/data
|
|
|
|
pkgdata_DATA = $(shell find $(srcdir) -name "*.data") \
|
|
$(shell find $(srcdir) -name "*.herring") \
|
|
$(shell find $(srcdir) -name "*.projectile") \
|
|
$(shell find $(srcdir) -name "*.cup") \
|
|
$(shell find $(srcdir) -name "*.collectable") \
|
|
$(shell find $(srcdir) -name "*.projectile") \
|
|
CREDITS licenses \
|
|
supertuxkart_32.xpm supertuxkart_64.xpm \
|
|
supertuxkart.desktop
|
|
|
|
desktopdir = $(prefix)/share/applications
|
|
desktop_DATA = supertuxkart.desktop
|
|
|
|
icondir = $(prefix)/share/pixmaps
|
|
icon_DATA = supertuxkart_32.xpm supertuxkart_64.xpm
|
|
|
|
EXTRA_DIST = $(pkgdata_DATA)
|
|
|
|
# The desktop file needs the absolute path to the binary
|
|
# since e.g. /usr/games might not be in the standard path
|
|
|
|
supertuxkart.desktop: supertuxkart_desktop.template
|
|
cat supertuxkart_desktop.template | sed 's#BINDIR#@prefix@/games#' >supertuxkart.desktop
|