[libnet-easytcp-perl] 16/16: Finally switch to minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Tue Dec 17 21:27:11 UTC 2013


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

abe pushed a commit to branch master
in repository libnet-easytcp-perl.

commit b7f410b8245ecf56566ff83f8b5e6ac69e49e82f
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 17 22:26:18 2013 +0100

    Finally switch to minimal dh-style debian/rules file
---
 debian/changelog |  1 +
 debian/rules     | 71 ++------------------------------------------------------
 2 files changed, 3 insertions(+), 69 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6bb13ff..160d5ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ libnet-easytcp-perl (0.26-3) UNRELEASED; urgency=low
     + Drop obsolete variable usage
     + Drop obsolete targets source and diff
     + Drop manual removing of stamp files, now done by dh_clean
+    + Finally switch to a minimal dh-style debian/rules file
   * Fix lintian warning debian-watch-contains-dh_make-template
   * Update debian/copyright to mention Perl's license properly.
     + Fixes lintian warning copyright-refers-to-symlink-license
diff --git a/debian/rules b/debian/rules
index e146c71..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,74 +1,7 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-
-
-	# Add here commands to compile the package.
-	dh_auto_configure
-	dh_auto_build
-	dh_auto_test
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add here commands to clean up after the build process.
-	dh_auto_clean
-
-	dh_clean
-
-install: 
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp.
-	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
-	dh_auto_install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-#	dh_testversion
-	dh_testdir
-	dh_testroot
-	dh_installdocs 
-	dh_installexamples
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-	dh_installcron
-	dh_installman
-#	dh_undocumented
-	dh_installchangelogs
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-easytcp-perl.git



More information about the Pkg-perl-cvs-commits mailing list