[Pkg-cli-libs-commits] [taoframework] 09/91: Added the monodoc-tao-manual package and generate all documentation for the Tao packages.
Jo Shields
directhex at moszumanska.debian.org
Mon Sep 22 08:33:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to branch master
in repository taoframework.
commit fbed70b8789a3666b850566e9a9a0b5f27501c62
Author: Dylan R. E. Moonfire <debian at mfgames.com>
Date: Tue Mar 7 05:11:01 2006 +0000
Added the monodoc-tao-manual package and generate all documentation for the Tao packages.
---
debian/control | 13 ++++++++-
debian/patches/00list | 1 +
debian/patches/06-tao-opengl-documentation.dpatch | 19 +++++++++++++
debian/rules | 34 ++++++++++++++++++++++-
4 files changed, 65 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 86f5f0e..481b151 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
Priority: optional
Maintainer: Dylan R. E. Moonfire <debian at mfgames.com>
Uploaders: Sebastian Dröge <slomo at ubuntu.com>
-Build-Depends-Indep: debhelper (>= 5), cli-common (>= 0.2.0), mono-mcs (>= 1.0) | c-sharp-compiler, mono-gac, libmono-dev, libopenal-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, libsdl-ttf2.0-dev, libsdl1.2-dev, libsmpeg-dev, libode0-dev, libdevil-dev, libphysfs-dev, freeglut3-dev, libglu1-xorg-dev | libglu1-dev, xlibmesa-gl-dev | libgl1-mesa-dev, dpatch
+Build-Depends-Indep: debhelper (>= 5), cli-common (>= 0.2.0), mono-mcs (>= 1.0) | c-sharp-compiler, mono-gac, libmono-dev, libopenal-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, libsdl-ttf2.0-dev, libsdl1.2-dev, libsmpeg-dev, libode0-dev, libdevil-dev, libphysfs-dev, freeglut3-dev, libglu1-xorg-dev | libglu1-dev, xlibmesa-gl-dev | libgl1-mesa-dev, dpatch, monodoc-base
Standards-Version: 3.6.2
Package: libtao-cil-examples
@@ -134,3 +134,14 @@ Description: Tao CLI binding for PhysicsFS
http://www.mono-project.com/Tao
http://icculus.org/physfs
+Package: monodoc-tao-manual
+Architecture: all
+Section: doc
+Depends: monodoc-manual
+Conflicts: monodoc-manual (<= 1.0.6-1)
+Description: compiled XML documentation for all the Tao libraries
+ The MonoDoc Project is the documentation framework of the Mono project which
+ provides detailed API documentation for all Mono components and the Mono CLI
+ implementation.
+ .
+ This packages contains the compiled XML documentation for Tao.
diff --git a/debian/patches/00list b/debian/patches/00list
index c7ebb82..21b78ad 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -3,3 +3,4 @@
03-correct-physfs-config.dpatch
04-correct-openal-config.dpatch
05-correct-ode-config.dpatch
+06-tao-opengl-documentation.dpatch
diff --git a/debian/patches/06-tao-opengl-documentation.dpatch b/debian/patches/06-tao-opengl-documentation.dpatch
new file mode 100755
index 0000000..0c5b494
--- /dev/null
+++ b/debian/patches/06-tao-opengl-documentation.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## opengl-documentation.dpatch by Dylan R. E. Moonfire <debian at mfgames.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+
+--- tao/src/Tao.OpenGl/Makefile.orig 2006-03-06 21:27:23.000000000 -0600
++++ tao/src/Tao.OpenGl/Makefile 2006-03-06 21:27:29.000000000 -0600
+@@ -33,7 +33,7 @@
+ $(RUN_EXE) $(PROGRAM_DEST)/Tao.GlPostProcess.exe $(OBJ_DEST)/$< $@ "$(SNKFILE)" Tao.OpenGl.Gl Tao.OpenGl.ContextGl
+
+ Tao.OpenGl-pre.dll: $(SRCS)
+- $(CSC) /target:library $(CSFLAGS) /out:$(OBJ_DEST)/$@ $^ /lib:$(LIBRARY_DEST) $(REFFLAGS)
++ $(CSC) /target:library $(CSFLAGS) /out:$(OBJ_DEST)/$@ /doc:$(DOC_DEST)/$(LIBRARY).xml $^ /lib:$(LIBRARY_DEST) $(REFFLAGS)
+
+ clean::
+ rm -f $(OBJ_DEST)/Tao.OpenGl-pre.dll
diff --git a/debian/rules b/debian/rules
index 55191b1..6a14733 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,30 @@ build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE) STRONG=1
+
+ # Build the documentation
+ -mkdir -p $(CURDIR)/dist/doc/monodocer
+ for file in Tao.DevIl Tao.FreeGlut Tao.Ode Tao.OpenAl \
+ Tao.OpenGl Tao.OpenGl.ExtensionLoader Tao.OpenGl.Glu \
+ Tao.Sdl Tao.PhysFs; do \
+ /usr/bin/monodocer \
+ -importslashdoc:$(CURDIR)/dist/doc/$$file.xml \
+ --assembly:$(CURDIR)/dist/bin/$$file.dll \
+ --path:$(CURDIR)/dist/doc/monodocer/$$file; \
+ done
+
+ mono /usr/lib/monodoc/assembler.exe --out $(CURDIR)/dist/doc/Tao \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.DevIl \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.FreeGlut \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.Ode \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.OpenAl \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.OpenGl \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.OpenGl.ExtensionLoader \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.OpenGl.Glu \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.PhysFs \
+ --ecma $(CURDIR)/dist/doc/monodocer/Tao.Sdl
+
+ # Finish up
touch build-stamp
clean: unpatch
@@ -26,6 +50,8 @@ clean: unpatch
dh_testroot
rm -f build-stamp configure-stamp
rm -rf $(CURDIR)/.wapi
+ rm -rf $(CURDIR)/dist/doc/monodocer
+ rm -f $(CURDIR)/dist/doc/Tao.{tree,zip}
rm -rf dist obj
rm -f config.mk
-$(MAKE) clean
@@ -45,7 +71,7 @@ install: build
mkdir -p $(CURDIR)/debian/tmp/usr/lib/tao
mkdir -p $(CURDIR)/debian/tmp/usr/share
mkdir -p $(CURDIR)/debian/tmp/usr/share/doc
-
+
for file in $(CURDIR)/dist/bin/Tao.DevIl.dll* \
$(CURDIR)/dist/bin/Tao.FreeGlut.dll* \
$(CURDIR)/dist/bin/Tao.Ode.dll* \
@@ -58,6 +84,12 @@ install: build
cp $$file $(CURDIR)/debian/tmp/usr/lib/tao; \
done
+ # Install the documentation
+ -mkdir -p $(CURDIR)/debian/tmp/usr/lib/monodoc/sources
+ cp $(CURDIR)/dist/doc/Tao.{tree,zip} \
+ $(CURDIR)/debian/Tao.source \
+ $(CURDIR)/debian/tmp/usr/lib/monodoc/sources
+
# Install the libraries into GAC
for file in $(CURDIR)/debian/tmp/usr/lib/tao/*.dll; do \
gacutil /i $$file -root $(CURDIR)/debian/tmp/usr/lib; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/taoframework.git
More information about the Pkg-cli-libs-commits
mailing list