Updated autotools building, including distributing of the directories

tools; data/shaders; data/tutorials; and other missing files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-09-06 06:09:27 +00:00
parent 0065b71f8b
commit d4317a0839
10 changed files with 34 additions and 10 deletions

View File

@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data
SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data tools
pkgdatadir=$(datadir)/doc/$(PACKAGE)
dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README autogen.sh m4

View File

@ -445,15 +445,18 @@ AC_CONFIG_FILES([ \
data/models/Makefile \
data/music/Makefile \
data/po/Makefile \
data/shaders/Makefile \
data/sfx/Makefile \
data/textures/Makefile \
data/tracks/Makefile \
data/tutorials/Makefile \
doc/Makefile \
src/Makefile \
src/ide/Makefile \
src/bullet/Makefile \
src/bullet/src/Makefile \
src/enet/Makefile \
tools/Makefile
])
AC_OUTPUT
echo -e $SUMMARY

View File

@ -1,17 +1,14 @@
# data/
SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks grandprix
SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks \
grandprix tutorials shaders
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") \
stk_config.xml powerup.xml items.xml \
CREDITS
CREDITS run_me.sh
desktopdir = $(prefix)/share/applications
desktop_DATA = supertuxkart.desktop

7
data/shaders/Makefile.am Normal file
View File

@ -0,0 +1,7 @@
# data/shaders/
pkgdatadir = $(datadir)/games/@PACKAGE@/data/shaders
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.frag") \
$(shell find $(srcdir) -name "*.vert")

View File

@ -0,0 +1,6 @@
# data/po/
pkgdatadir = $(datadir)/games/@PACKAGE@/data/shaders
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.tutorial")

View File

@ -1,5 +1,5 @@
SUBDIRS=src
EXTRA_DIST = BulletLicense.txt ChangeLog.txt copy_bullet_files \
EXTRA_DIST = BulletLicense.txt Changelog copy_bullet_files \
LICENSE README VERSION

View File

@ -264,6 +264,8 @@ libbulletdynamics_a_SOURCES = \
BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h \
BulletDynamics/ConstraintSolver/btSolverBody.h \
BulletDynamics/ConstraintSolver/btSolverConstraint.h \
BulletDynamics/ConstraintSolver/btSorLcp.cpp \
BulletDynamics/ConstraintSolver/btSorLcp.h \
BulletDynamics/ConstraintSolver/btTypedConstraint.cpp \
BulletDynamics/ConstraintSolver/btTypedConstraint.h \
BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.cpp \

View File

@ -1,5 +1,6 @@
noinst_LIBRARIES = libenet.a
EXTRA_DIST = ChangeLog configure design.txt Doxyfile LICENSE tutorial.txt
EXTRA_DIST = ChangeLog configure design.txt Doxyfile LICENSE tutorial.txt \
$(shell find $(srcdir) -maxdepth 2 -name "*.dox")
libenet_a_SOURCES = callbacks.c compress.c host.c list.c packet.c peer.c \
protocol.c unix.c win32.c \
include/enet/callbacks.h \

8
tools/Makefile.am Normal file
View File

@ -0,0 +1,8 @@
# tools
dist_pkgdata_DATA = \
$(shell find . -maxdepth 2 -name "*.cpp") \
$(shell find . -maxdepth 2 -name "*.h") \
$(shell find . -maxdepth 2 -name "*.sln") \
$(shell find . -maxdepth 2 -name "*.vcproj") \
$(shell find . -maxdepth 2 -name "po_list")