Tweak Debian package build

dh_strip -Xqfcc causes qfcc itself to not get stripped -- explicitly
disallow stripping of only lib/qfcc

Also, disable Werror in debian builds and make sure quakeforge-stub looks
in the same place the engine will.
This commit is contained in:
Jeff Teunissen 2010-12-24 13:55:26 -05:00
parent 42ba169024
commit af8e2020da
2 changed files with 6 additions and 5 deletions

View file

@ -1,9 +1,9 @@
#!/bin/sh -e
if test ! -f /usr/share/games/quakeforge/id1/pak0.pak; then
echo Warning: /usr/share/games/quakeforge/id1/pak0.pak not found
echo Install either the shareware or registered quake data in
echo /usr/share/games/quakeforge
if test ! -f /usr/share/games/quake/id1/pak0.pak; then
echo "Warning: /usr/share/games/quake/id1/pak0.pak not found."
echo "Install either the shareware or registered quake data into"
echo "/usr/share/games/quake"
fi
#DEBHELPER#

3
debian/rules vendored
View file

@ -42,6 +42,7 @@ configure-stamp:
./bootstrap
./configure --prefix=/usr $(RETARGET) --bindir=/usr/games \
--without-fbdev \
--disable-Werror \
--disable-xmms \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@ -215,7 +216,7 @@ binary-arch: build install
dh_installman -p$(maptools)
dh_installman -p$(utils)
dh_undocumented
dh_strip -Xqfcc
dh_strip -Xlib/qfcc
dh_link
dh_compress
dh_fixperms