[hamradio-commits] [lysdr] 04/06: Simplify debian/rules

Iain Learmonth irl-guest at moszumanska.debian.org
Wed Aug 12 15:23:13 UTC 2015


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

irl-guest pushed a commit to branch master
in repository lysdr.

commit 1025c337fcd1ecbeb4b2cb15bc2fd9a12c20d2a8
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Wed Aug 12 16:03:35 2015 +0100

    Simplify debian/rules
---
 debian/rules | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index 92ec5a2..f26313b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,24 +7,21 @@ pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
 %:
 	dh $@
 
-clean:
-	dh $@
+override_dh_auto_clean:
 	./waf --nocache distclean
 	find waflib -name "*.pyc" -delete
 
-build:
-	dh $@ --before configure
+override_dh_auto_configure:
 	./waf --nocache configure --prefix=/usr
-	dh $@ --after configure --until build
+
+override_dh_auto_build:
 	./waf --nocache build
-	dh $@ --remaining
 
-binary:
-	dh $@ --until dh_auto_install
+override_dh_auto_install:
 	./waf --nocache install --destdir=debian/lysdr
-	dh $@ --remaining --before dh_strip
+
+override_dh_auto_strip:
 	dh_strip --dbg-package=lysdr-dbg
-	dh $@ --remaining
 
 get-orig-source:
 	# get-orig-source to drop waf

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



More information about the pkg-hamradio-commits mailing list