[esys-particle] 01/07: Enable pdf-generation.
Anton Gladky
gladk at moszumanska.debian.org
Tue Jun 23 22:00:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository esys-particle.
commit 208d2f37027c9ae6487875f833e2200c8de34050
Author: Anton Gladky <gladk at debian.org>
Date: Tue Jun 23 20:00:15 2015 +0200
Enable pdf-generation.
---
debian/control | 3 +++
debian/patches/04_FixDocGeneration.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
debian/rules | 2 +-
4 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 4794040..6ea20ef 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,9 @@ Build-Depends:
mpi-default-bin,
mpi-default-dev,
python-demgengeo,
+ texlive-latex-extra,
+ texlive-fonts-recommended,
+ texlive-latex-recommended,
python-epydoc
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders:
diff --git a/debian/patches/04_FixDocGeneration.patch b/debian/patches/04_FixDocGeneration.patch
new file mode 100644
index 0000000..7a51218
--- /dev/null
+++ b/debian/patches/04_FixDocGeneration.patch
@@ -0,0 +1,16 @@
+Description: Fix doc-generation
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2015-06-23
+
+--- esys-particle-2.3.3+dfsg1.orig/Doc/Tutorial/Makefile.am
++++ esys-particle-2.3.3+dfsg1/Doc/Tutorial/Makefile.am
+@@ -76,9 +76,6 @@ CLEANFILES = $(TUTNAME).pdf $(TUTNAME).l
+ $(TUTNAME).lof $(TUTPDF)
+
+ $(TUTPDF): $(TUTSOURCE)
+- test "x$(srcdir)" != "x." && cp -pr $(srcdir)/* .
+- test -d examples || mkdir examples
+- test -d tables || mkdir tables
+ $(PDFLATEX) $(TUTNAME)
+ $(BIBTEX) $(TUTNAME) || true
+ $(MAKEGLOS) $(TUTNAME).glo
diff --git a/debian/patches/series b/debian/patches/series
index 3012a80..435432e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
01_remove_obsolete_dir.patch
02_remove_bzr_version.patch
03_ax-boost.patch
+04_FixDocGeneration.patch
diff --git a/debian/rules b/debian/rules
index f4dfde7..88b9979 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
LDFLAGS := -lboost_python -lboost_system -lpython2.7 $(shell dpkg-buildflags --get LDFLAGS)
extra_flags += CC=mpicc CXX=mpicxx CFLAGS='$(CFLAGS)' CXXFLAGS='$(CXXFLAGS)' CPPFLAGS='$(CPPFLAGS)'\
- LDFLAGS='$(LDFLAGS)' --with-epydoc --with-vtk
+ LDFLAGS='$(LDFLAGS)' --with-epydoc --with-vtk --with-latex
override_dh_auto_configure:
dh_auto_configure -- $(extra_flags) --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/esys-particle.git
More information about the debian-science-commits
mailing list