mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 17:12:15 +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
|
#!/bin/sh -e
|
||||||
|
|
||||||
if test ! -f /usr/share/games/quakeforge/id1/pak0.pak; then
|
if test ! -f /usr/share/games/quake/id1/pak0.pak; then
|
||||||
echo Warning: /usr/share/games/quakeforge/id1/pak0.pak not found
|
echo "Warning: /usr/share/games/quake/id1/pak0.pak not found."
|
||||||
echo Install either the shareware or registered quake data in
|
echo "Install either the shareware or registered quake data into"
|
||||||
echo /usr/share/games/quakeforge
|
echo "/usr/share/games/quake"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -42,6 +42,7 @@ configure-stamp:
|
||||||
./bootstrap
|
./bootstrap
|
||||||
./configure --prefix=/usr $(RETARGET) --bindir=/usr/games \
|
./configure --prefix=/usr $(RETARGET) --bindir=/usr/games \
|
||||||
--without-fbdev \
|
--without-fbdev \
|
||||||
|
--disable-Werror \
|
||||||
--disable-xmms \
|
--disable-xmms \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info \
|
||||||
|
@ -215,7 +216,7 @@ binary-arch: build install
|
||||||
dh_installman -p$(maptools)
|
dh_installman -p$(maptools)
|
||||||
dh_installman -p$(utils)
|
dh_installman -p$(utils)
|
||||||
dh_undocumented
|
dh_undocumented
|
||||||
dh_strip -Xqfcc
|
dh_strip -Xlib/qfcc
|
||||||
dh_link
|
dh_link
|
||||||
dh_compress
|
dh_compress
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue