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