[Pkg-cli-libs-commits] [SCM] opentk branch, master, updated. b44b87de7f46276220630f17a844c331348144d8
Jo Shields
directhex at apebox.org
Mon May 28 22:36:19 UTC 2012
The following commit has been merged in the master branch:
commit b44b87de7f46276220630f17a844c331348144d8
Author: Jo Shields <directhex at apebox.org>
Date: Mon May 28 23:09:32 2012 +0100
Generate a manual for use with Monodoc.
diff --git a/debian/control b/debian/control
index 2fe4045..8b9350a 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Build-Depends-Indep: mono-devel (>= 2.8),
libxinerama-dev,
libgdiplus,
libgles1-mesa-dev,
- libgles2-mesa-dev
+ libgles2-mesa-dev,
+ monodoc-base
Standards-Version: 3.9.3
Homepage: http://www.opentk.com
Vcs-Git: git://git.debian.org/pkg-cli-libs/packages/opentk.git
@@ -38,6 +39,7 @@ Package: libopentk-cil-dev
Architecture: all
Section: cli-mono
Depends: libopentk1.0-cil (= ${source:Version}), ${misc:Depends}
+Suggests: monodoc-opentk-manual
Description: Open Toolkit wrapper for OpenGL, OpenAL and OpenCL - Assemblies
The Open Toolkit is an advanced, low-level C# library that wraps OpenGL,
OpenCL and OpenAL. It is suitable for games, scientific applications and
@@ -46,3 +48,16 @@ Description: Open Toolkit wrapper for OpenGL, OpenAL and OpenCL - Assemblies
This package contains the development files for OpenTK, and should be used
for compilation.
+
+Package: monodoc-opentk-manual
+Architecture: all
+Section: doc
+Depends: monodoc-manual, ${misc:Depends}
+Description: Open Toolkit wrapper for OpenGL, OpenAL and OpenCL - Assemblies
+ The Open Toolkit is an advanced, low-level C# library that wraps OpenGL,
+ OpenCL and OpenAL. It is suitable for games, scientific applications and
+ any other project that requires 3d graphics, audio or compute functionality.
+ .
+ This package contains the compiled XML documentation for OpenTK.
+
+
diff --git a/debian/monodoc-opentk-manual.install b/debian/monodoc-opentk-manual.install
new file mode 100644
index 0000000..80a5fde
--- /dev/null
+++ b/debian/monodoc-opentk-manual.install
@@ -0,0 +1,3 @@
+debian/opentk.source /usr/lib/monodoc/sources/
+opentk.tree /usr/lib/monodoc/sources/
+opentk.zip /usr/lib/monodoc/sources/
diff --git a/debian/opentk.source b/debian/opentk.source
new file mode 100644
index 0000000..e274df5
--- /dev/null
+++ b/debian/opentk.source
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<monodoc>
+ <source provider="ecma" basefile="opentk" path="opentk"/>
+</monodoc>
+
diff --git a/debian/rules b/debian/rules
index 8ab3f8f..12a1573 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,22 @@
override_dh_auto_build:
xbuild OpenTK.sln
+ rm -rf monodocer
+ mdoc update -i Source/Compatibility/OpenTK.Compatibility.xml \
+ -i Source/OpenTK/OpenTK.xml \
+ -i ./Source/GLControl/OpenTK.GLControl.xml \
+ -o monodocer \
+ Binaries/OpenTK/Debug/OpenTK.GLControl.dll \
+ Binaries/OpenTK/Debug/OpenTK.Compatibility.dll \
+ Binaries/OpenTK/Debug/OpenTK.dll
+ mdoc assemble -o opentk monodocer
override_dh_auto_clean:
xbuild OpenTK.sln /target:Clean
rm -fr Binaries
+ rm -fr monodocer
+ rm -f opentk.zip
+ rm -f opentk.tree
override_dh_clideps:
dh_clideps --exclude-moduleref=/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon \
--
opentk
More information about the Pkg-cli-libs-commits
mailing list