[Bash-completion-commits] [SCM] debian-package branch, master, updated. upstream/1.0-31-g69d1c0a

David Paleino d.paleino at gmail.com
Sat Oct 10 15:49:31 UTC 2009


The following commit has been merged in the master branch:
commit cdc6aab62fd44cc93154de73993f05f941ce74cb
Author: David Paleino <d.paleino at gmail.com>
Date:   Sat Oct 10 17:45:28 2009 +0200

    debian/rules: rewritten using dh7

diff --git a/debian/changelog b/debian/changelog
index 6a65d72..aa0b87b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,11 +7,12 @@ bash-completion (1:1.1-1) UNRELEASED; urgency=low
   * debian/rules:
     - passing debian/CHANGES to dh_installchangelogs, it's missing from
       upstream tarball :(
+    - rewritten using dh7
   * debian/control:
     - debhelper Build-Dependency bumped to >= 7.0.50
   * debian/compat bumped to 7
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 10 Oct 2009 17:34:34 +0200
+ -- David Paleino <d.paleino at gmail.com>  Sat, 10 Oct 2009 17:45:06 +0200
 
 bash-completion (1:1.0-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 1188ab8..29baf07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,15 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/quilt/quilt.make
-
 VERSION=$(shell parsechangelog | grep ^Version | awk -F": " '{print $$2}' | cut -d"-" -f1)
 d = debian/bash-completion
 
+override_dh_compress:
+	dh_compress -Xcontrib
+
+override_dh_installchangelogs:
+	dh_installchangelogs debian/CHANGES
+
 dh_bash-completion.1: debian/extra/dh_bash-completion
 	pod2man \
 		--center "Bash-Completion Debhelper" \
@@ -16,42 +20,27 @@ dh_bash-completion.1: debian/extra/dh_bash-completion
 		$< > debian/extra/$@
 
 build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
+build-stamp:
+	dh build
 	touch $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	dh_install
+clean:
+	dh $@
 
+install: install-stamp
+install-stamp: build
+	dh install
 	for i in mtx; do \
 		rm -vf debian/bash-completion/etc/bash_completion.d/$$i; \
 	done
-
-	dh_link
+	touch $@
 
 binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs debian/CHANGES
-	dh_installdocs README TODO AUTHORS
-	dh_installman
-	dh_compress -Xcontrib
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh $@
+
 
-binary-arch: build install
+binary-arch:
 
 binary: binary-indep binary-arch
+
 .PHONY: build clean binary-indep binary-arch binary install

-- 
debian-package



More information about the Bash-completion-commits mailing list