summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/tmw-data.dirs1
-rw-r--r--debian/tmw-data.install1
-rw-r--r--debian/tmw-music.install2
4 files changed, 9 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index da8deaba..b44be0bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,13 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
config.status:
dh_testdir
- ./autogen.sh
+
+ echo "Generating build information using aclocal, autoheader, automake and autoconf."
+# Regerate configuration files
+ aclocal
+ autoheader
+ automake --gnu --add-missing --copy
+ autoconf
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man6/man --infodir=/usr/share/doc/tmw --datadir=/usr/share/games --bindir=/usr/games --with-opengl
diff --git a/debian/tmw-data.dirs b/debian/tmw-data.dirs
index aebeb3f8..654af36d 100644
--- a/debian/tmw-data.dirs
+++ b/debian/tmw-data.dirs
@@ -7,6 +7,7 @@ usr/share/games/tmw/data/graphics
usr/share/games/tmw/data/graphics/gui
usr/share/games/tmw/data/graphics/sprites
usr/share/games/tmw/data/graphics/images
+usr/share/games/tmw/data/graphics/items
usr/share/games/tmw/data/graphics/tiles
usr/share/games/tmw/data/maps
usr/share/games/tmw/data/sfx
diff --git a/debian/tmw-data.install b/debian/tmw-data.install
index 71b34a98..74499687 100644
--- a/debian/tmw-data.install
+++ b/debian/tmw-data.install
@@ -4,6 +4,7 @@ data/graphics/gui/*.png usr/share/games/tmw/data/graphics/gui
data/graphics/sprites/*.png usr/share/games/tmw/data/graphics/sprites
data/graphics/sprites/*.xml usr/share/games/tmw/data/graphics/sprites
data/graphics/images/*.png usr/share/games/tmw/data/graphics/images
+data/graphics/items/*.png usr/share/games/tmw/data/graphics/items
data/graphics/tiles/*.png usr/share/games/tmw/data/graphics/tiles
data/maps/*.tmx.gz usr/share/games/tmw/data/maps
data/sfx/*.ogg usr/share/games/tmw/data/sfx
diff --git a/debian/tmw-music.install b/debian/tmw-music.install
index b4a17199..b3494726 100644
--- a/debian/tmw-music.install
+++ b/debian/tmw-music.install
@@ -1,3 +1 @@
data/music/*.ogg usr/share/games/tmw/data/music
-data/music/*.mp3 usr/share/games/tmw/data/music
-