[libpdl-io-hdf5-perl] 10/17: Refactor rules file to be like pdl.
Bas Couwenberg
sebastic at debian.org
Thu Jun 16 17:53:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository libpdl-io-hdf5-perl.
commit 8402cbed21b496b7f98d8c60da7f0ae659f2b0e5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Jun 15 16:50:19 2016 +0200
Refactor rules file to be like pdl.
---
debian/changelog | 1 +
debian/rules | 24 +++++++++++++-----------
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e51e2f7..f8bff69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ libpdl-io-hdf5-perl (1:0.73-1) UNRELEASED; urgency=medium
* Add gbp.conf to use pristine-tar by default.
* Change Maintainer to Debian Perl Group, move Henning Glawe to Uploaders.
* Add Vcs-* URLs for pkg-perl git repository.
+ * Refactor rules file to be like pdl.
-- Bas Couwenberg <sebastic at debian.org> Wed, 15 Jun 2016 16:45:45 +0200
diff --git a/debian/rules b/debian/rules
index 86023fb..faf83be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,25 @@
#!/usr/bin/make -f
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-export DEB_LDFLAGS_MAINT_APPEND:=-Wl,--as-needed
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+export DEB_LDFLAGS_MAINT_APPEND:=-Wl,--as-needed
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export HDF5_INCDIR := /usr/include/hdf5/serial
export HDF5_LIBDIR := /usr/lib/$(DEB_HOST_MULTIARCH)
-build:
- dh build
+%:
+ dh $@ --parallel
+
+override_dh_install:
+ dh_install --list-missing
-clean:
- dh clean
-# Build architecture-dependent files here.
override_dh_perl:
dh_perl
dh_pdl
-%:
- dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-io-hdf5-perl.git
More information about the Pkg-perl-cvs-commits
mailing list