[SCM] Trophy racing game - Packaging information branch, master, updated. 98f39636f06eb9fbabe9fcc4468aab565cf6e37e
Andreas Moog
amoog at ubuntu.com
Mon Jul 4 15:01:44 UTC 2011
The following commit has been merged in the master branch:
commit 078802d606cd1f61d51a7eda63fd01d3f8454550
Author: Andreas Moog <amoog at ubuntu.com>
Date: Mon Jul 4 16:50:12 2011 +0200
Don't pass /usr to dh_auto_configure, it's not needed
diff --git a/debian/rules b/debian/rules
index 0f9c295..82513e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
dh $@ --with autoreconf
override_dh_auto_configure:
- dh_auto_configure -- --prefix=/usr --datadir=/usr/share/games --bindir=/usr/games
+ dh_auto_configure -- --datadir=/usr/share/games --bindir=/usr/games
override_dh_strip:
dh_strip --dbg-package=trophy-dbg
diff --git a/debian/rules-old b/debian/rules-old
deleted file mode 100755
index d398768..0000000
--- a/debian/rules-old
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-configure-stamp:
- dh_testdir
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
- --datadir=/usr/share/games --bindir=/usr/games
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
- $(MAKE)
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- [ ! -f Makefile ] || $(MAKE) distclean
- # Remove files from previous builds.
- rm -rf debian/tmp
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-binary-indep: build install
- dh_testdir -i
- dh_testroot -i
- dh_install -i
- dh_installdocs -i
- dh_installchangelogs -i ChangeLog
- dh_strip -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_shlibdeps -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch: build install
- dh_testdir -a
- dh_testroot -a
- dh_install -a
- dh_installdocs -a
- dh_installmenu -a
- dh_installman -a
- dh_installchangelogs -a ChangeLog
- dh_strip -a --dbg-package=trophy-dbg
- dh_compress -a
- dh_fixperms -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-get-orig-source:
- @@dh_testdir
- @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
- @@uscan --force-download --destdir ../tarballs
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
--
Trophy racing game - Packaging information
More information about the Pkg-games-commits
mailing list