[shark] 03/11: Rename doc package from libshark-doc to shark-doc.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Feb 9 12:16:49 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/sid
in repository shark.

commit fa05d29a53835fd083498b0b95aaa18e35a73d6e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Feb 7 08:53:08 2016 +0000

    Rename doc package from libshark-doc to shark-doc.
---
 debian/control               |  5 +++--
 debian/libshark-doc.doc-base |  9 ---------
 debian/libshark-doc.install  |  1 -
 debian/libshark-doc.links    |  1 -
 debian/rules                 |  8 ++++----
 debian/shark-doc.doc-base    | 10 ++++++++++
 debian/shark-doc.install     |  1 +
 debian/shark-doc.links       |  1 +
 debian/tests/build-examples  |  2 +-
 debian/tests/control         |  2 +-
 10 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/debian/control b/debian/control
index fb0b1ca..0c4d370 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,7 @@ Multi-Arch: same
 Section: libdevel
 Depends: libshark0 (= ${binary:Version}),
          ${misc:Depends}
+Suggests: shark-doc
 Description: development files for Shark
  Shark is a modular C++ library for the design and optimization of adaptive
  systems. It provides methods for linear and nonlinear optimization, in
@@ -35,7 +36,7 @@ Description: development files for Shark
  .
  This package provides the development files for the Shark library.
 
-Package: libshark-doc
+Package: shark-doc
 Architecture: all
 Multi-Arch: foreign
 Section: doc
@@ -48,7 +49,7 @@ Description: documentation and examples for Shark
  particular evolutionary and gradient-based algorithms, kernel-based learning
  algorithms and neural networks, and various other machine learning techniques.
  .
- This package provides the documentation and example code source for the Shark
+ This package provides the documentation and example source code for the Shark
  library.
 
 Package: libshark0
diff --git a/debian/libshark-doc.doc-base b/debian/libshark-doc.doc-base
deleted file mode 100644
index 6b2c094..0000000
--- a/debian/libshark-doc.doc-base
+++ /dev/null
@@ -1,9 +0,0 @@
-Document: libshark-doc
-Title: Shark Documentation
-Author: The Shark Developers
-Section: Science/Mathematics
-
-Format: HTML
-Index: /usr/share/doc/libshark-doc/html/index.html
-Files: /usr/share/doc/libshark-doc/html/doxygen_pages/html/*.html
-       /usr/share/doc/libshark-doc/html/sphinx_pages/*.html
diff --git a/debian/libshark-doc.install b/debian/libshark-doc.install
deleted file mode 100644
index 5a08bb1..0000000
--- a/debian/libshark-doc.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/libshark-doc
diff --git a/debian/libshark-doc.links b/debian/libshark-doc.links
deleted file mode 100644
index 57e2040..0000000
--- a/debian/libshark-doc.links
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/javascript/mathjax/MathJax.js /usr/share/doc/libshark-doc/html/sphinx_pages/_static/MathJax.js
diff --git a/debian/rules b/debian/rules
index d670cab..435e879 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,8 +18,8 @@ CMAKE_BUILD_OPTIONS = \
 	-DENABLE_ATLAS=OFF \
 	-DENABLE_OPENMP=ON \
 	-DOPT_INSTALL_DOCUMENTATION=ON \
-	-DSHARK_INSTALL_DOC_DIR=share/doc/libshark-doc \
-	-DSHARK_INSTALL_EXAMPLE_DIR=share/doc/libshark-doc/examples
+	-DSHARK_INSTALL_DOC_DIR=share/doc/shark-doc \
+	-DSHARK_INSTALL_EXAMPLE_DIR=share/doc/shark-doc/examples
 
 # Disable build of testsuite if no check requested.
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
@@ -44,9 +44,9 @@ override_dh_auto_configure-indep:
 override_dh_installdocs-indep:
 	dh_installdocs --indep
 	dh_doxygen --indep \
-		/usr/share/doc/libshark-doc/html/doxygen_pages/html
+		/usr/share/doc/shark-doc/html/doxygen_pages/html
 	dh_sphinxdoc --indep --exclude=MathJax.js \
-		/usr/share/doc/libshark-doc/html/sphinx_pages
+		/usr/share/doc/shark-doc/html/sphinx_pages
 
 override_dh_compress:
 	dh_compress --exclude=examples
diff --git a/debian/shark-doc.doc-base b/debian/shark-doc.doc-base
new file mode 100644
index 0000000..c534b86
--- /dev/null
+++ b/debian/shark-doc.doc-base
@@ -0,0 +1,10 @@
+Document: shark-doc
+Title: Shark Documentation
+Author: The Shark Developers
+Abstract: This is the reference documentation for the Shark library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/shark-doc/html/index.html
+Files: /usr/share/doc/shark-doc/html/doxygen_pages/html/*.html
+       /usr/share/doc/shark-doc/html/sphinx_pages/*.html
diff --git a/debian/shark-doc.install b/debian/shark-doc.install
new file mode 100644
index 0000000..7276ecd
--- /dev/null
+++ b/debian/shark-doc.install
@@ -0,0 +1 @@
+usr/share/doc
diff --git a/debian/shark-doc.links b/debian/shark-doc.links
new file mode 100644
index 0000000..af3e3ed
--- /dev/null
+++ b/debian/shark-doc.links
@@ -0,0 +1 @@
+/usr/share/javascript/mathjax/MathJax.js /usr/share/doc/shark-doc/html/sphinx_pages/_static/MathJax.js
diff --git a/debian/tests/build-examples b/debian/tests/build-examples
index f054afd..dce4908 100755
--- a/debian/tests/build-examples
+++ b/debian/tests/build-examples
@@ -14,7 +14,7 @@ then
 fi
 
 # Copy example source code.
-cp -a /usr/share/doc/libshark-doc/examples/* "$ADTTMP"
+cp -a /usr/share/doc/shark-doc/examples/* "$ADTTMP"
 cd "$ADTTMP"
 
 # Create the CMake project.
diff --git a/debian/tests/control b/debian/tests/control
index e7aae5e..19f5983 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,4 +2,4 @@ Tests: build-examples
 Depends: build-essential,
          cmake,
          libshark-dev,
-         libshark-doc
+         shark-doc

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



More information about the debian-science-commits mailing list