[opengm] 03/14: Provide examples in doc package.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 14 16:25:29 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 opengm.

commit dd67b0d0645eed1368243e4ea176b164004fe066
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Feb 3 10:20:03 2016 +0000

    Provide examples in doc package.
---
 debian/control                | 5 +++--
 debian/libopengm-doc.examples | 1 +
 debian/rules                  | 3 +++
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index fcd42b8..6d00294 100644
--- a/debian/control
+++ b/debian/control
@@ -62,7 +62,7 @@ Package: libopengm-doc
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}
-Description: API documentation for OpenGM
+Description: documentation and examples for OpenGM
  OpenGM is a C++ template library for discrete factor graph models and
  distributive operations on these models.
  .
@@ -73,7 +73,8 @@ Description: API documentation for OpenGM
  interfaces. The binary OpenGM file format is based on the HDF5 standard and
  incorporates user extensions automatically.
  .
- This package contains the API documentation for the OpenGM library.
+ This package contains the API documentation and example source code for the
+ OpenGM library.
 
 Package: python-opengm
 Architecture: any
diff --git a/debian/libopengm-doc.examples b/debian/libopengm-doc.examples
new file mode 100644
index 0000000..c404289
--- /dev/null
+++ b/debian/libopengm-doc.examples
@@ -0,0 +1 @@
+src/examples/*
diff --git a/debian/rules b/debian/rules
index 7060220..1e19003 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,3 +63,6 @@ override_dh_installdocs-indep:
 	dh_installdocs --indep
 	dh_doxygen --package=libopengm-doc
 	dh_sphinxdoc --package=python-opengm-doc
+
+override_dh_installexamples:
+	dh_installexamples --exclude=CMakeLists.txt

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



More information about the debian-science-commits mailing list