[Pkg-dkms-commits] [SCM] Dynamic Kernel Module Support branch, master, updated. debian/2.2.0.2-1-9-g58ced11

Mario Limonciello mario_limonciello at dell.com
Wed Dec 7 19:34:10 UTC 2011


The following commit has been merged in the master branch:
commit db4238c8994609fbc1ca4b8ee5250c0006e644dc
Author: Mario Limonciello <mario_limonciello at dell.com>
Date:   Wed Dec 7 13:00:25 2011 -0600

    switch to dh7

diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..74f3386
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+debian/HOWTO.Debian
diff --git a/debian/rules b/debian/rules
index a2e71b7..75bad97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,58 +1,24 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 CURVER = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | cut -d"-" -f1 )
 
+%:
+	dh $@
+
 dh_dkms.1: debian/scripts/dh_dkms
 	pod2man \
 		--center "DKMS Debhelper" \
 		--release $(CURVER) \
 		$< > debian/scripts/$@
 
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	touch $@
+override_dh_auto_build:
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Makefile ] || $(MAKE) clean
-	dh_clean 
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep 
-	dh_installdirs
+override_dh_install:
 	$(MAKE) install-debian DESTDIR=$(CURDIR)/debian/dkms
 	dh_install
 	
-binary-arch: build install
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs AUTHORS debian/HOWTO.Debian
-	dh_lintian
-	dh_installexamples
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep
-
 get-orig-source:
 	uscan \
 		--force-download \
@@ -62,5 +28,3 @@ get-orig-source:
 get-svn-source:
 	[ -d ../tarballs ] || mkdir ../tarballs
 	cd ../tarballs && make -f $(CURDIR)/debian/rules get-orig-source
-
-.PHONY: build clean binary-indep binary-arch binary install

-- 
Dynamic Kernel Module Support



More information about the Pkg-dkms-commits mailing list