[med-svn] [libfreecontact-perl] 05/06: simplify debian/rules
Andreas Tille
tille at debian.org
Fri Aug 21 09:47:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libfreecontact-perl.
commit 68c5d0c8e9ab43b52ee3aec2e42ba6ae3246fe93
Author: Andreas Tille <tille at debian.org>
Date: Fri Aug 21 11:42:11 2015 +0200
simplify debian/rules
---
debian/changelog | 1 +
debian/rules | 20 ++++++--------------
2 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ce3f2e7..5ac74d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libfreecontact-perl (0.08-3) UNRELEASED; urgency=medium
* Priority: optional
* Rebuild against gcc-5 transitioned libfreecontact-dev
Closes: #795586
+ * simplify debian/rules
-- Andreas Tille <tille at debian.org> Fri, 21 Aug 2015 11:37:55 +0200
diff --git a/debian/rules b/debian/rules
index c8dd64f..64ac165 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,29 +2,21 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
-
Description := $(shell sed -e ':a; N; s/\n/$${Newline}/; ta' < debian/Description)
-.PHONY: override_dh_auto_configure
+%:
+ dh $@ --parallel
+
override_dh_auto_configure:
dh_auto_configure -- OPTIMIZE="$(CPPFLAGS) $(CFLAGS)" LD="$(shell perl -V::ld:) $(LDFLAGS)"
-.PHONY: override_dh_gencontrol
override_dh_gencontrol:
dh_gencontrol -- '-VDescription=$(Description)'
-.PHONY: get-orig-source
-get-orig-source:
- uscan --verbose --force-download --destdir=..
-
-.PHONY: override_dh_auto_clean
override_dh_auto_clean:
rm -f Makefile.old
dh_auto_clean
-%:
- dh $@ --parallel
+get-orig-source:
+ uscan --verbose --force-download --destdir=..
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libfreecontact-perl.git
More information about the debian-med-commit
mailing list