2007-05-27 16:01:53 +00:00
|
|
|
# data/
|
|
|
|
|
2008-09-10 00:26:04 +00:00
|
|
|
SUBDIRS = fonts herrings karts models music po sfx textures tracks grandprix
|
2007-05-27 16:01:53 +00:00
|
|
|
pkgdatadir = $(datadir)/games/@PACKAGE@/data
|
|
|
|
|
2008-04-17 05:34:45 +00:00
|
|
|
pkgdata_DATA = $(shell find $(srcdir) -name "*.data") \
|
|
|
|
$(shell find $(srcdir) -name "*.herring") \
|
|
|
|
$(shell find $(srcdir) -name "*.projectile") \
|
|
|
|
$(shell find $(srcdir) -name "*.cup") \
|
2008-09-10 00:26:04 +00:00
|
|
|
$(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
|
2008-04-17 05:34:45 +00:00
|
|
|
$(shell find $(srcdir) -name "*.collectable") \
|
|
|
|
$(shell find $(srcdir) -name "*.projectile") \
|
|
|
|
CREDITS licenses \
|
|
|
|
supertuxkart_32.xpm supertuxkart_64.xpm \
|
2008-05-20 01:12:58 +00:00
|
|
|
supertuxkart_desktop.template
|
2007-05-27 16:01:53 +00:00
|
|
|
|
|
|
|
desktopdir = $(prefix)/share/applications
|
|
|
|
desktop_DATA = supertuxkart.desktop
|
|
|
|
|
|
|
|
icondir = $(prefix)/share/pixmaps
|
|
|
|
icon_DATA = supertuxkart_32.xpm supertuxkart_64.xpm
|
|
|
|
|
|
|
|
EXTRA_DIST = $(pkgdata_DATA)
|
2008-05-15 08:17:29 +00:00
|
|
|
|
|
|
|
# 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
|
2008-05-20 01:12:58 +00:00
|
|
|
cat supertuxkart_desktop.template | sed 's#PREFIX#@prefix@#' >supertuxkart.desktop
|
|
|
|
|