[libterm-slang-perl] 13/15: Finally switch to a minimal dh-style debian/rules file
Axel Beckert
abe at deuxchevaux.org
Tue Dec 24 01:44:58 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libterm-slang-perl.
commit 118b7b992297130d4632c05517e6afec43b12c5a
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Dec 24 02:31:19 2013 +0100
Finally switch to a minimal dh-style debian/rules file
---
debian/changelog | 3 ++-
debian/rules | 54 ++++--------------------------------------------------
2 files changed, 6 insertions(+), 51 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1871532..7118ea2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,7 +39,7 @@ libterm-slang-perl (0.07-12) UNRELEASED; urgency=low
copyright-without-copyright-notice. Also add upstream's last name.
* Fine-tune short and long description a little bit.
* Bump debhelper compatibility to 9
- * Revamp debian/rules a little bit
+ * Revamp debian/rules
+ Fix lintian warning debian-rules-missing-recommended-target
+ Replace "dh_clean -k" with "dh_prep"
+ Remove obsolete dh_{clean,installchangelogs} parameters
@@ -48,6 +48,7 @@ libterm-slang-perl (0.07-12) UNRELEASED; urgency=low
- Not using dh_auto_build for now, c.f. #661546
+ Remove obsolete /usr/share/perl5 handling
+ Remove obsolete variable usage
+ + Finally switch to a minimal dh-style debian/rules file
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:32:23 +0200
diff --git a/debian/rules b/debian/rules
index 0c495b6..1ef97fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -16,50 +12,8 @@ else
CFLAGS += -O2
endif
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
- dh_testdir
- dh_auto_configure
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
- dh_auto_test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_auto_clean
- dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_prep
- dh_auto_install
- touch $@
+%:
+ dh $@
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples
- dh_installchangelogs
- dh_shlibdeps
- dh_strip
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_auto_build:
+ $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-slang-perl.git
More information about the Pkg-perl-cvs-commits
mailing list