stk-code_catmod/data/Makefile.am
hikerstk 9a2afc0a0e Removed find *.xml command, since it would install e.g.
tracks/.../track.xml files as well in the data directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 02:05:09 +00:00

30 lines
1.0 KiB
Makefile

# data/
SUBDIRS = fonts gui items karts models music po sfx textures tracks grandprix
pkgdatadir = $(datadir)/games/$(PACKAGE)/data
dist_pkgdata_DATA = \
$(shell find $(srcdir) -name "*.data") \
$(shell find $(srcdir) -name "*.items") \
$(shell find $(srcdir) -name "*.projectile") \
$(shell find $(srcdir) -name "*.cup") \
$(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
$(shell find $(srcdir) -name "*.collectable") \
$(shell find $(srcdir) -name "*.projectile") \
stk_config.xml bubblegum.xml \
CREDITS
desktopdir = $(prefix)/share/applications
desktop_DATA = supertuxkart.desktop
icondir = $(prefix)/share/pixmaps
dist_icon_DATA = supertuxkart_32.xpm supertuxkart_64.xpm
# The desktop file needs the absolute path to the binary
# since e.g. /usr/games might not be in the standard path
EXTRA_DIST = supertuxkart_desktop.template
CLEANFILES = supertuxkart.desktop
supertuxkart.desktop: Makefile supertuxkart_desktop.template
sed 's#PREFIX#$(prefix)#' $(srcdir)/supertuxkart_desktop.template >supertuxkart.desktop