r13716 - packages/trunk/mancala/debian
Paul Wise
pabs at alioth.debian.org
Mon Jun 18 07:02:59 UTC 2012
Author: pabs
Date: 2012-06-18 07:02:57 +0000 (Mon, 18 Jun 2012)
New Revision: 13716
Modified:
packages/trunk/mancala/debian/changelog
packages/trunk/mancala/debian/compat
packages/trunk/mancala/debian/control
packages/trunk/mancala/debian/rules
Log:
Switch debhelper compat 9 and dh
Modified: packages/trunk/mancala/debian/changelog
===================================================================
--- packages/trunk/mancala/debian/changelog 2012-06-18 06:40:17 UTC (rev 13715)
+++ packages/trunk/mancala/debian/changelog 2012-06-18 07:02:57 UTC (rev 13716)
@@ -4,6 +4,7 @@
* Switch to dpkg-source v3
* Don't link against unused libraries
* Fix issues with new libforms (Closes: #620634, LP: #904629)
+ * Switch debhelper compat 9 and dh
-- Paul Wise <pabs at debian.org> Sun, 03 Apr 2011 13:45:54 +0800
Modified: packages/trunk/mancala/debian/compat
===================================================================
--- packages/trunk/mancala/debian/compat 2012-06-18 06:40:17 UTC (rev 13715)
+++ packages/trunk/mancala/debian/compat 2012-06-18 07:02:57 UTC (rev 13716)
@@ -1 +1 @@
-5
+9
Modified: packages/trunk/mancala/debian/control
===================================================================
--- packages/trunk/mancala/debian/control 2012-06-18 06:40:17 UTC (rev 13715)
+++ packages/trunk/mancala/debian/control 2012-06-18 07:02:57 UTC (rev 13716)
@@ -4,7 +4,7 @@
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Paul Wise <pabs at debian.org>
Standards-Version: 3.8.2
-Build-Depends: debhelper (>= 5.0.0), libforms-dev, libforms-bin
+Build-Depends: debhelper (>= 9), libforms-dev, libforms-bin
Homepage: http://shh.thathost.com/pub-unix/#Mancala
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/mancala/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/mancala/?op=log
Modified: packages/trunk/mancala/debian/rules
===================================================================
--- packages/trunk/mancala/debian/rules 2012-06-18 06:40:17 UTC (rev 13715)
+++ packages/trunk/mancala/debian/rules 2012-06-18 07:02:57 UTC (rev 13716)
@@ -2,48 +2,9 @@
#export DH_VERBOSE=1
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- MAKEFLAGS += -j$(NUMJOBS)
-endif
+%:
+ dh $@ --parallel
-build: build-stamp
-build-stamp:
- dh_testdir
- $(MAKE) OPTIM="-g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)" LDOPT=
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- $(MAKE) distclean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- dh_install
-
-binary-indep: build install
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installmenu
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_auto_build:
+ rm -f xform.h xform.c
+ dh_auto_build -- OPTIM="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" LDOPT="$(shell dpkg-buildflags --get LDFLAGS)"
More information about the Pkg-games-commits
mailing list