Fixed installation of challenges and gfx files.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-01-17 03:39:52 +00:00
parent 08faf6972e
commit cf864f9d22
4 changed files with 14 additions and 4 deletions

View File

@ -365,7 +365,6 @@ fi
# Bullet physics
# ==============
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
SUMMARY="$SUMMARY\nUsing bullet physics."
BULLETTREE="src/bullet"
bullet_LIBS="-Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
@ -398,7 +397,6 @@ case "${host}" in
enet_LIBS="-Lenet -lenet"
;;
esac
SUMMARY="$SUMMARY\nUsing enet network support."
ENETTREE="src/enet"
# =================
@ -410,7 +408,7 @@ AC_ARG_WITH(addons,[AS_HELP_STRING([--with-addons],
[This option is used to enable/disable addons support])])
if test "x$with_addons" == "xyes" ; then
PKG_CHECK_MODULES(LIBCURL, libcurl >= 0.1)
echo "STK will compile with addons support"
SUMMARY="$SUMMARY\nEnabling addons support."
AC_DEFINE(ADDONS_MANAGER)
fi
# ==========================================
@ -445,7 +443,9 @@ AC_SUBST(ENETTREE)
AC_CONFIG_FILES([ \
Makefile \
data/Makefile \
data/challenges/Makefile \
data/fonts/Makefile \
data/gfx/Makefile \
data/grandprix/Makefile \
data/gui/Makefile \
data/karts/Makefile \

View File

@ -1,6 +1,6 @@
# data/
SUBDIRS = fonts gui karts models music po sfx textures tracks grandprix
SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks grandprix
pkgdatadir = $(datadir)/games/$(PACKAGE)/data
dist_pkgdata_DATA = \

View File

@ -0,0 +1,5 @@
# challenges/
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/challenges
nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.challenge")

5
data/gfx/Makefile.am Normal file
View File

@ -0,0 +1,5 @@
#data/gfx
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gfx
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.xml")