[abe] 12/30: Switch from cdbs to dh sequencer.

Markus Koschany apo at moszumanska.debian.org
Sat Jun 11 10:41:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository abe.

commit 748d31d8b7e09c055ddf401be98a1541af1df9e1
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jun 11 09:54:15 2016 +0200

    Switch from cdbs to dh sequencer.
---
 debian/control |  1 -
 debian/rules   | 23 ++++++++++-------------
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 226067a..01d7ba3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders:
  Markus Koschany <apo at debian.org>
 Build-Depends:
  autotools-dev,
- cdbs,
  debhelper (>= 9),
  imagemagick,
  libsdl-image1.2-dev,
diff --git a/debian/rules b/debian/rules
index ac39b25..a929c34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,19 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+%:
+	dh $@ --parallel
 
-DEB_CONFIGURE_EXTRA_FLAGS += \
-	--bindir=/usr/games \
-	--with-data-dir=/usr/share/games/abe \
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--bindir=/usr/games \
+		--with-data-dir=/usr/share/games/abe
 
-update-config::
-	[ -e config.h.in.d-r-orig ] || cp -p config.h.in config.h.in.d-r-orig
+override_dh_auto_build-indep:
 	[ -e tom4.bmp ] || tar xf images/images.tar tom4.bmp
 	[ -e tom4.xpm ] || convert -resize 24x32 tom4.bmp tom4.xpm
 	[ -e abe.xpm ] || sed -e "s/#000000/None/" < tom4.xpm > abe.xpm
 
-reverse-config::
-	[ ! -e config.h.in.d-r-orig ] || mv config.h.in.d-r-orig config.h.in
-	rm -f tom4.bmp tom4.xpm abe.xpm
+override_dh_clean:
+	dh_clean
+	$(RM)tom4.bmp tom4.xpm abe.xpm
 
-clean::
-	rm -f stamp-h.in

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/abe.git



More information about the Pkg-games-commits mailing list