[petsc] 02/02: let dh_installchangelogs skip upstream changelog files
Drew Parsons
dparsons at moszumanska.debian.org
Wed Sep 30 10:23:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch master
in repository petsc.
commit bc744ad20b72e206779956d6623b0e0871911a5b
Author: Drew Parsons <dparsons at debian.org>
Date: Wed Sep 30 18:18:39 2015 +0800
let dh_installchangelogs skip upstream changelog files
dh_installchangelogs can't handle a directory of changelog files
(docs/changes), so skip them (install them using dh_install)
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index fdaa538..ff0a1dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -129,6 +129,11 @@ override_dh_auto_install:
PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_BUILD_DIR)
+# dh_installchangelogs can't handle a directory of changelog files, so skip them here
+override_dh_installchangelogs:
+ dh_installchangelogs --exclude=docs/changes
+
+
DEB_SOURCE_PACKAGE = petsc
DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git
More information about the debian-science-commits
mailing list