From: Ryan Niebur Date: Fri, 15 May 2009 05:15:01 +0000 (-0700) Subject: rearrange the debian/rules file X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e75ec240d6f5e3bedd871b85a71611ab6f40acff;p=midori rearrange the debian/rules file --- diff --git a/debian/changelog b/debian/changelog index ae77331b..658b7669 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ midori (0.1.6-2) UNRELEASED; urgency=low * adopt package: set myself as maintainer, remove uploaders, remove dm flag (Closes: #528731) + * rearrange the debian/rules file - -- Ryan Niebur Thu, 14 May 2009 21:24:27 -0700 + -- Ryan Niebur Thu, 14 May 2009 22:14:14 -0700 midori (0.1.6-1) experimental; urgency=low diff --git a/debian/rules b/debian/rules index 7cda46c8..6b4388e3 100755 --- a/debian/rules +++ b/debian/rules @@ -1,32 +1,30 @@ #!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + %: dh $@ -# http://bugs.debian.org/499225 +clean: unpatch + +build binary-arch: patch + override_dh_auto_clean: ./waf --nocache distclean -# Upstream doesn't clean up after "./waf check". rm -rf _build_ + override_dh_auto_configure: ./waf --nocache configure --prefix /usr + override_dh_auto_build: ./waf --nocache build --debug full + override_dh_auto_test: ./waf --nocache check + override_dh_auto_install: ./waf --nocache install --destdir debian/tmp -# By deleting these two unnecessary files here, midori.install can -# just say "install everything from /usr" instead of having to list -# all the other files. - rm -f debian/tmp/usr/share/doc/midori/COPYING - rm -f debian/tmp/usr/share/doc/midori/TRANSLATE + rm -f debian/tmp/usr/share/doc/midori/COPYING debian/tmp/usr/share/doc/midori/TRANSLATE -override_dh_strip: # http://bugs.debian.org/510772 +override_dh_strip: dh_strip --dbg-package=midori-dbg - -## While we wait for the Debian archive to support 3.0 (quilt). -ifeq (,$(wildcard debian/source/format)) -include /usr/share/quilt/quilt.make -clean: unpatch -build binary-arch: patch -endif