[nfft] 02/03: d/*: enable -doc package

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Jan 16 12:35:48 UTC 2015


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

ghisvail-guest pushed a commit to branch debian-experimental
in repository nfft.

commit 0b1db994be9289b38981e173d725c277ecf78ebb
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jan 16 11:37:12 2015 +0000

    d/*: enable -doc package
---
 debian/control               | 25 +++++++++++++------------
 debian/libnfft3-doc.doc-base |  9 +++++++++
 debian/libnfft3-doc.docs     |  1 +
 debian/rules                 |  6 ++++++
 4 files changed, 29 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index 90ecd8e..bf13216 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends:
  libfftw3-dev,
  pkg-config,
  libcunit1-dev,
- libncurses5-dev
+ libncurses5-dev,
+ doxygen
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/nfft.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/nfft.git
@@ -116,14 +117,14 @@ Description: Library for computing Non-uniform Fast Fourier Transforms - debug s
  .
  This package contains the debugging symbols of the library.
 
-#Package: libnfft3-doc
-#Section: doc
-#Architecture: all
-#Depends:
-# ${misc:Depends}
-#Description: Library for computing Non-uniform Fast Fourier Transforms - documentation
-# NFFT is a C subroutine library for computing the nonequispaced discrete
-# Fourier transform (NDFT) in one or more dimensions, of arbitrary input
-# size, and of complex data.
-# .
-# This package contains the documentation of the library.
+Package: libnfft3-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends}
+Description: Library for computing Non-uniform Fast Fourier Transforms - documentation
+ NFFT is a C subroutine library for computing the nonequispaced discrete
+ Fourier transform (NDFT) in one or more dimensions, of arbitrary input
+ size, and of complex data.
+ .
+ This package contains the documentation of the library.
diff --git a/debian/libnfft3-doc.doc-base b/debian/libnfft3-doc.doc-base
new file mode 100644
index 0000000..6383349
--- /dev/null
+++ b/debian/libnfft3-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libnfft3-doc
+Title: NFFT Documentation
+Author: NFFT developers
+Abstract: This documentation describes the NFFT library API.
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/libnfft3-doc/html/index.html
+Files: /usr/share/doc/libnfft3-doc/html/*.html
diff --git a/debian/libnfft3-doc.docs b/debian/libnfft3-doc.docs
new file mode 100644
index 0000000..59be862
--- /dev/null
+++ b/debian/libnfft3-doc.docs
@@ -0,0 +1 @@
+doc/api/html
diff --git a/debian/rules b/debian/rules
index cd79b7b..7593061 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,16 +29,22 @@ override_dh_auto_configure:
 		--disable-examples \
 		--enable-long-double \
 		--program-suffix=l
+	# configure documentation in main tree
+	cd $(CURDIR) && sh configure
 
 override_dh_auto_build:
 	dh_auto_build --builddirectory=nfft
 	dh_auto_build --builddirectory=nfftf
 	dh_auto_build --builddirectory=nfftl
+	# make documentation in main tree
+	cd $(CURDIR) && make doc
 
 override_dh_auto_clean:
 	dh_auto_clean --builddirectory=nfft
 	dh_auto_clean --builddirectory=nfftf
 	dh_auto_clean --builddirectory=nfftl
+	# clean main tree
+	dh_auto_clean --builddirectory=$(CURDIR)
 
 override_dh_auto_install-arch:
 	dh_auto_install --builddirectory=nfft --package=libnfft3-double2

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



More information about the debian-science-commits mailing list