[flint] 05/06: Build the doc and ship it in the libflint-doc package

Julien Puydt julien.puydt at laposte.net
Sat Aug 9 09:26:37 UTC 2014


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

jpuydt-guest pushed a commit to branch master
in repository flint.

commit 8168913dec2674a6c24925fd93177073f9a813f2
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Aug 9 08:54:06 2014 +0200

    Build the doc and ship it in the libflint-doc package
---
 debian/control               | 19 +++++++++++++++++--
 debian/libflint-doc.doc-base |  8 ++++++++
 debian/libflint-doc.docs     |  1 +
 debian/rules                 |  1 +
 4 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 41b8d28..8214355 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,7 @@ Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.puydt at laposte.net>
 Homepage: http://www.flintlib.org/
-Build-Depends: debhelper (>= 9),
- libgmp-dev, libmpfr-dev, libntl-dev
+Build-Depends: debhelper (>= 9), libgmp-dev, libmpfr-dev, libntl-dev, texlive-latex-extra, texlive-fonts-recommended
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/flint.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/flint
@@ -40,3 +39,19 @@ Description: C library for number theory, development files
  FLINT is designed for good performance in small cases as well.
  .
  This package contains the FLINT development files.
+
+Package: libflint-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libflint-dev
+Description: Documentation for the FLINT library
+ The Fast Library for Integer Number Theory is a C library which supports
+ polynomial arithmetic over the integers, fast integer arithmetic and factoring
+ (including a highly optimized quadratic sieve).
+ .
+ FLINT has funtionality similar to that of the Number Theory Library (NTL).
+ However, unlike NTL, which is designed primarily for asymptotic performance,
+ FLINT is designed for good performance in small cases as well.
+ .
+ This package contains the FLINT documentation
diff --git a/debian/libflint-doc.doc-base b/debian/libflint-doc.doc-base
new file mode 100644
index 0000000..be8190e
--- /dev/null
+++ b/debian/libflint-doc.doc-base
@@ -0,0 +1,8 @@
+Document: libflint-doc
+Title: FLINT Manual
+Author: FLINT Authors
+Abstract: Manual for the Fast Library for Integer Number Theory (FLINT)
+Section: Science/Mathematics
+
+Format: pdf
+Files: /usr/share/doc/libflint-doc/flint-manual.pdf.gz
diff --git a/debian/libflint-doc.docs b/debian/libflint-doc.docs
new file mode 100644
index 0000000..a7a719d
--- /dev/null
+++ b/debian/libflint-doc.docs
@@ -0,0 +1 @@
+doc/latex/flint-manual.pdf
diff --git a/debian/rules b/debian/rules
index ab5b1ab..fc793ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ override_dh_auto_configure:
 override_dh_auto_build:
 	dh_auto_build --parallel -- $(MAKE_OVERRIDE) \
 	    EXTRA_SHARED_FLAGS="$(EXTRA_SHARED_FLAGS)"
+	(cd doc/latex && make)
 
 override_dh_auto_test:
 	dh_auto_test --parallel -- $(MAKE_OVERRIDE)

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



More information about the debian-science-commits mailing list