mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
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:
parent
42ba169024
commit
af8e2020da
2 changed files with 6 additions and 5 deletions
8
debian/quakeforge-stub.postinst
vendored
8
debian/quakeforge-stub.postinst
vendored
|
@ -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
3
debian/rules
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue