[taurus] 01/01: link duplicated files using rdfind
Frédéric-Emmanuel Picca
picca at alioth.debian.org
Mon Sep 9 13:20:14 UTC 2013
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository taurus.
commit 2aaba0d51f2627432b56f133922278a3efdab433
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Mon Sep 9 15:19:47 2013 +0200
link duplicated files using rdfind
---
debian/changelog | 8 ++++++++
debian/control | 4 +++-
debian/rules | 7 +++++++
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 3c7a2b5..09f6af3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+taurus (3.1.0-2) UNRELEASED; urgency=low
+
+ * debian/control
+ - Build-Dep: add rdfind, symlinks to remove duplicated files in the
+ python-taurus-doc package.
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org> Fri, 26 Jul 2013 18:49:07 +0200
+
taurus (3.1.0-1) unstable; urgency=low
* Imported Upstream version 3.1.0
diff --git a/debian/control b/debian/control
index 1967d42..ce42296 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,9 @@ Build-Depends: debhelper (>= 9),
python-qt4,
python-qwt5-qt4,
python-sphinx,
- python-spyderlib
+ python-spyderlib,
+ rdfind,
+ symlinks
Standards-Version: 3.9.4
Homepage: http://www.tango-controls.org
X-Python-Version: >= 2.6
diff --git a/debian/rules b/debian/rules
index c385ad1..80746f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,13 @@ override_dh_auto_install:
dh_auto_install -- --skip-build --no-doc
dh_numpy
+override_dh_installdocs:
+ dh_installdocs
+ # Replace duplicate files with symlinks
+ rdfind -outputname /dev/null -makesymlinks true debian/python-taurus-doc
+ # Fix those symlinks to make them relative
+ symlinks -r -s -c debian/python-taurus-doc
+
%:
dh $@ --with python2 $(WITH_SPHINXDOC)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/taurus.git
More information about the debian-science-commits
mailing list