[slepc] 01/02: don't delete files which aren't there
Drew Parsons
dparsons at moszumanska.debian.org
Thu Aug 4 04:27:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch experimental
in repository slepc.
commit 2128d6a3b51b47924e7efce38de96890ff341569
Author: Drew Parsons <dparsons at debian.org>
Date: Thu Aug 4 12:24:22 2016 +0800
don't delete files which aren't there
affects parallel builds where the files were already removed by
another process
---
debian/changelog | 6 ++++++
debian/rules | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 03aee7d..491fee4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+slepc (3.7.2+dfsg1-1exp2) UNRELEASED; urgency=medium
+
+ * Fix build of doc package (don't delete files which aren't there).
+
+ -- Drew Parsons <dparsons at debian.org> Thu, 04 Aug 2016 12:17:43 +0800
+
slepc (3.7.2+dfsg1-1exp1) experimental; urgency=medium
* New upstream version.
diff --git a/debian/rules b/debian/rules
index 4493faf..526c9ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -167,7 +167,7 @@ override_dh_installdocs:
# html docs for header files in include have been installed,
# but dh_installdocs cannot exclude the .h (-X.h bans the .html files)
# so remove the excess .h files
- find debian/$(SLEPC_DOC_PACKAGE)/usr/share/doc/$(SLEPC_DOC_PACKAGE)/include -name *.h -o -name *.h90 | xargs rm
+ find debian/$(SLEPC_DOC_PACKAGE)/usr/share/doc/$(SLEPC_DOC_PACKAGE)/include -name *.h -o -name *.h90 | xargs -r rm
for examples in $$( find src -name *example* ); do \
dh_install -p$(SLEPC_DOC_PACKAGE) $$examples/* usr/share/doc/$(SLEPC_DOC_PACKAGE)/examples/$$(echo $$examples | sed "s/src\///; s/examples//" ); \
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/slepc.git
More information about the debian-science-commits
mailing list