[SCM] Packaging of the Nexuiz game data branch, master, updated. debian/2.5.2-1-17-g9a6db50
Bruno Kleinert
fuddl at tauware.de
Wed Jun 1 12:02:23 UTC 2011
The following commit has been merged in the master branch:
commit 65ee841618bbeebff6eb4062735c6598c5536f14
Author: Bruno Kleinert <fuddl at tauware.de>
Date: Tue May 31 16:42:31 2011 +0200
Use debhelper 8 style rules file
diff --git a/debian/rules b/debian/rules
index 477a66b..cb8799d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,25 +1,21 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+%:
+ dh $@
-build: build-stamp
-build-stamp:
- dh_testdir
- touch build-stamp
- # Builds QuakeC and the uge data.zip archive. In case of emergency, i.e. if
- # Nexuiz complains about wrong cvar checksums also call the update-cvarcount
- # target, but be careful: It will modify in-tree files!
+override_dh_auto_build:
+ # Builds QuakeC and the uge data.zip archive. In case of emergency, i.e.
+ # if Nexuiz complains about wrong cvar checksums also call the
+ # update-cvarcount target, but be careful: It will modify in-tree files!
make -C data pk3here
mkdir -p tmp/sound
cp -r data/sound/cdtracks tmp/sound
cd tmp && 7za a -tzip -mx=0 music.pk3 sound
# Same thing for the textures
cd data && 7za a -tzip -mx=9 textures.pk3 textures
- touch build-stamp
-clean:
- dh_testdir
- dh_testroot
+override_dh_auto_clean:
$(MAKE) -C data clean
rm -f build-stamp configure-stamp
rm -rf debian/tmp tmp
@@ -27,29 +23,3 @@ clean:
data/textures.pk3
rm -f data/qcsrc/menu/fteqcc.log data/qcsrc/server/fteqcc.log \
data/qcsrc/client/fteqcc.log
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
- dh_install
- dh_installexamples
-
-binary-arch: build install
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdebconf
- dh_installdocs
- dh_installchangelogs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
--
Packaging of the Nexuiz game data
More information about the Pkg-games-commits
mailing list