From c0aa558de82cacbdbdb84d4dc863b0562a744ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Fri, 26 Jun 2009 05:39:31 +0000 Subject: [PATCH] Updated debian config files Thanks to Jean Pierre Charalambos git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@181 fdac6126-5c0c-442c-9429-916003d36597 --- debian/changelog | 6 ++++++ debian/control | 18 +++++++++++++++++- debian/rules | 8 ++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 40790204..24a035bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +openmesh (2.0~svn177-0~ppa2~jaunty1) jaunty; urgency=low + + * Adding the documentation package. + + -- Jean Pierre Charalambos Thu, 25 Jun 2009 20:07:43 -0500 + openmesh (2.0~svn177-0~ppa1~jaunty1) jaunty; urgency=low * New upstream SVN snapshot. diff --git a/debian/control b/debian/control index 4a440bc8..c63a3f01 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: openmesh Section: libs Priority: optional Maintainer: Jean Pierre Charalambos -Build-Depends: cdbs, debhelper (>= 7), cmake, libglew1.5-dev, libqt4-dev, libqt4-opengl-dev, libqwt5-qt4-dev, freeglut3-dev, libfreetype6-dev, libgomp1 +Build-Depends: cdbs, debhelper (>= 7), cmake, libglew1.5-dev, libqt4-dev, libqt4-opengl-dev, libqwt5-qt4-dev, freeglut3-dev, libfreetype6-dev, libgomp1, doxygen Standards-Version: 3.8.0 Homepage: http://www.openmesh.org @@ -49,3 +49,19 @@ Description: OpenMesh is a generic and efficient data structure for representing . This package contains some binary applications that show some features of the OpenMesh library. + +Package: libopenmesh-doc +Architecture: all +Depends: ${misc:Depends} +Section: doc +Suggests: libopenmesh-dev (= ${binary:Version}), libopenmesh-apps (= ${binary:Version}) +Description: OpenMesh is a generic and efficient data structure for representing + and manipulating polygonal meshes. OpenMesh provides the following features: + . + * Representation of arbitrary polygonal and pure triangle meshes. + * Explicit representation of vertices, halfedges, edges and faces. + * Fast neighborhood access, especially the one-ring neighborhood. + * Highly customizable. + . + This package constains the API documentation of the OpenMesh library in HTML + format. diff --git a/debian/rules b/debian/rules index 9fe262e4..51c56151 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,11 @@ get-orig-source: rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package" +build/libopenmesh-doc:: + cd $(DEB_BUILDDIR) && $(MAKE) doc + mkdir -p debian/tmp/usr/share/doc/ + cp -r $(DEB_BUILDDIR)/Build/share/OpenMesh/Doc/html debian/tmp/usr/share/doc/OpenMesh + install/libopenmesh:: #dh_install -libopenmesh --autodest debian/tmp/usr/lib/OpenMesh/lib*.so.* ln -sf libOpenMeshCore.so.2.0 debian/tmp/usr/lib/OpenMesh/libOpenMeshCore.so.2 @@ -35,3 +40,6 @@ install/libopenmesh-dev:: install/libopenmesh-apps:: dh_install -plibopenmesh-apps debian/tmp/usr/bin/* /usr/lib/OpenMesh/Apps + +install/libopenmesh-doc:: + dh_install -plibopenmesh-doc debian/tmp/usr/share/doc/*