[med-svn] [python-biopython] 09/10: Remove doc sources and latex rund remainings from binary package

Andreas Tille tille at debian.org
Thu Jun 9 12:08:34 UTC 2016


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

tille pushed a commit to branch master
in repository python-biopython.

commit 373c7d1738bdd118486146bf9ca7f6c4758ab702
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jun 9 11:46:00 2016 +0200

    Remove doc sources and latex rund remainings from binary package
---
 debian/changelog | 3 ++-
 debian/rules     | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cded88a..9dbf190 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,9 @@ python-biopython (1.67+dfsg-1) UNRELEASED; urgency=medium
   * New Build-Depends for documentation: hevea, texlive-latex-base,
     texlive-latex-extra, texlive-fonts-recommended
   * Makefile for Doc needs to be separately called (clean and build)
+  * Remove doc sources from binary doc package
 
- -- Andreas Tille <tille at debian.org>  Thu, 09 Jun 2016 09:43:17 +0200
+ -- Andreas Tille <tille at debian.org>  Thu, 09 Jun 2016 11:45:54 +0200
 
 python-biopython (1.66+dfsg-3) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index bcd3168..867d956 100755
--- a/debian/rules
+++ b/debian/rules
@@ -114,6 +114,12 @@ override_dh_installdocs-indep:
 	# dh_installdocs seems to refuse copying zero length files (for instance Tests/Blast/tab_2226_tblastn_002.txt) but these are needed for the tests as well
 	cp -a debian/tmp_tests/* $(CURDIR)/debian/python-biopython-doc/usr/share/doc/python-biopython-doc/
 	find debian -name .cvsignore -delete
+	cd debian/python-biopython-doc/usr/share/doc/python-biopython-doc/Doc && make clean
+	find debian/python-biopython-doc/usr/share/doc/python-biopython-doc/Doc -name Makefile -delete
+	find debian/python-biopython-doc/usr/share/doc/python-biopython-doc/Doc -name "*.tex" -delete
+	find debian/python-biopython-doc/usr/share/doc/python-biopython-doc/Doc -name "*.aux" -delete
+	find debian/python-biopython-doc/usr/share/doc/python-biopython-doc/Doc -name "*.lyx" -delete
+	find debian/python-biopython-doc/usr/share/doc/python-biopython-doc/Doc -type d -empty -delete
 
 override_dh_auto_clean:
 	dh_auto_clean

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



More information about the debian-med-commit mailing list