[med-svn] [cluster3] 12/13: Make sure dir is created

Andreas Tille tille at debian.org
Thu Sep 14 14:36:24 UTC 2017


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

tille pushed a commit to branch master
in repository cluster3.

commit 76339f071badf336adbdb482fa4c21699866c6ac
Author: Andreas Tille <tille at debian.org>
Date:   Thu Sep 14 16:25:07 2017 +0200

    Make sure dir is created
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 336866b..98fb579 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ cluster3 (1.53-1) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.0 (no changes needed)
   * debhelper 10
   * d/rules: short dh
+  * hardening=+all
 
  -- Andreas Tille <tille at debian.org>  Thu, 14 Sep 2017 15:00:42 +0200
 
diff --git a/debian/rules b/debian/rules
index 640264d..1d4023e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 
 include /usr/share/dpkg/default.mk
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -44,6 +46,7 @@ override_dh_install:
 	dh_install
 	mv cluster.x $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin/xcluster3
 	mv cluster.nox $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin/cluster3
+	mkdir -p $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)
 	cp doc/* $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)
 	# upstream Makefile installs copy of html documentation to unusual place - remove it
 	find debian/$(DEB_SOURCE)/usr -type d -name cluster | xargs rm -rf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cluster3.git



More information about the debian-med-commit mailing list