[med-svn] [pycorrfit] 04/05: d/control: add texlive-bibtex-extra to Build-Depends Depends: python-wxgtk2.8 d/rules: more specific rules for tex source

Alex Mestiashvili malex-guest at moszumanska.debian.org
Wed Mar 19 14:43:13 UTC 2014


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

malex-guest pushed a commit to branch master
in repository pycorrfit.

commit a47d9144e20b3112e50e13063ff2759db1cdd354
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Tue Feb 18 16:45:15 2014 +0100

    d/control: add texlive-bibtex-extra to Build-Depends
     Depends: python-wxgtk2.8
    d/rules: more specific rules for tex source
---
 debian/control | 4 +++-
 debian/rules   | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 28066df..4c52114 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 7),
  dh-python, python-setuptools,
  texlive-latex-base,
  texlive-extra-utils,
+ texlive-bibtex-extra,
  texlive-fonts-recommended,
  texlive-latex-extra,
  texlive-science,
@@ -21,8 +22,9 @@ Homepage: http://paulmueller.github.io/PyCorrFit/
 Package: pycorrfit
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, 
+ python-matplotlib,
  python-scipy, 
- python-wxtools,
+ python-wxgtk2.8,
  python-numpy,
  python-sympy,
  python-yaml,
diff --git a/debian/rules b/debian/rules
index 6233203..d0f3ddd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 #export DH_VERBOSE=1
 
 TEXDOC=PyCorrFit_doc.tex
+BIBDOC=PyCorrFit_doc.aux
 DOCDIR=doc-src
 PDF=PyCorrFit_doc.pdf
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
@@ -11,7 +12,9 @@ pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 	dh $@ --with python2 --buildsystem=pybuild
 
 override_dh_auto_build:
-	cd $(DOCDIR) && pdflatex $(TEXDOC)
+	cd $(DOCDIR) && pdflatex -synctex=1 -interaction=nonstopmode $(TEXDOC)
+	cd $(DOCDIR) && bibtex $(BIBDOC)
+	cd $(DOCDIR) && pdflatex -synctex=1 -interaction=nonstopmode $(TEXDOC)
 	rm -f $(PDF); ln -s $(DOCDIR)/$(PDF)
 	convert -background "rgba(255,255,255,0)" -geometry 32x32 \
 		$(DOCDIR)/Images/PyCorrFit_icon.svg debian/pycorrfit.xpm

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



More information about the debian-med-commit mailing list