[theano] 09/22: deb/rules: add custom removal for extra-license-file

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Jul 1 22:41:55 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository theano.

commit 6ba2e84b51c423442719f19ae57a62bc0ec617d4
Author: Daniel Stender <stender at debian.org>
Date:   Fri Jul 1 17:49:25 2016 +0200

    deb/rules: add custom removal for extra-license-file
---
 debian/changelog | 4 +++-
 debian/rules     | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5136729..94fc39a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,10 +10,12 @@ theano (0.7-2) UNRELEASED; urgency=medium
     + updated email address.
   * deb/rules:
     + run rdfind and symlinks in dh_installdocs override.
+    + add removal for extra-license-file in docs package (dh_sphinxdoc
+      override).
   * deb/watch:
     + improved filenamemangler.
 
- -- Daniel Stender <stender at debian.org>  Fri, 01 Jul 2016 17:42:46 +0200
+ -- Daniel Stender <stender at debian.org>  Fri, 01 Jul 2016 17:56:45 +0200
 
 theano (0.7-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 0480d90..60770ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,7 @@ override_dh_installdocs:
 	sphinx-build -N -bhtml doc/ debian/theano-doc/usr/share/doc/theano-doc/html/
 	rdfind -outputname /dev/null -makesymlinks true debian/theano-doc
 	symlinks -r -s -c debian/theano-doc
+
+override_dh_sphinxdoc:
+	dh_sphinxdoc
+	rm -f debian/theano-doc/usr/share/doc/theano-doc/html/_sources/LICENSE.txt # extra-license-file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/theano.git



More information about the debian-science-commits mailing list