[mpich] 01/01: Build pdf-files during the build-process.

Anton Gladky gladk at alioth.debian.org
Wed Sep 4 20:53:29 UTC 2013


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

gladk pushed a commit to branch master
in repository mpich.

commit c8e87b47a73ee866030a4ff3d647cc5855965aa7
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Wed Sep 4 22:40:05 2013 +0200

    Build pdf-files during the build-process.
---
 debian/changelog |    3 +++
 debian/control   |    4 ++++
 debian/rules     |    7 +++++++
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a9acea1..079e0b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ mpich (3.0.4-1) unstable; urgency=low
   * Name change modifications to lintian-overrides, README.Debian, copyright.
   * Added NEWS file.
 
+  [ Anton Gladky ]
+  * Build pdf-files during the build-process.
+
  -- Torquil Macdonald Sørensen <torquil at gmail.com>  Thu, 15 Aug 2013 09:53:03 +0200
 
 mpich2 (1.5~b1-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index c769b80..2c00e2d 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,10 @@ Build-Depends:
  txt2man,
  valgrind [i386 amd64 powerpc armel armhf],
  x11proto-core-dev
+Build-Depends-Indep:
+ texlive-latex-extra,
+ texlive-latex-recommended,
+ doxygen-latex
 Standards-Version: 3.9.4
 Homepage: http://www.mpich.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/mpich.git
diff --git a/debian/rules b/debian/rules
index b66acc7..44af780 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,13 @@ endif
 override_dh_auto_configure:
 	dh_auto_configure -- $(extra_flags)
 
+override_dh_auto_build-indep:
+	dh_auto_build -i
+	cd $(CURDIR)/doc/installguide; rm *.pdf; $(MAKE) install.pdf
+	cd $(CURDIR)/doc/logging; rm *.pdf; $(MAKE) logging.pdf
+	cd $(CURDIR)/doc/smpd; rm *.pdf; $(MAKE) smpd_pmi.pdf
+	cd $(CURDIR)/doc/userguide; rm *.pdf; $(MAKE) user.pdf
+
 override_dh_auto_install-arch:
 	dh_auto_install -a
 	for i in mpicc mpicxx mpif77 mpif90; do \

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



More information about the debian-science-commits mailing list