tags 269365 + patch
thanks

From 1.3.0 onwards, adequate Makefile support is in place to make this
fairly easy.

Attached is a patch which adds a new libsvn0-doc subpackage containing
doxygen docs.

Max.
Index: debian/control
===================================================================
--- debian/control      (revision 494)
+++ debian/control      (working copy)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Guilherme de S. Pastore <[EMAIL PROTECTED]>
 Uploaders: Al Stone <[EMAIL PROTECTED]>, David Kimdon <[EMAIL PROTECTED]>, 
Troy Heber <[EMAIL PROTECTED]>, Peter Samuelson <[EMAIL PROTECTED]>
-Build-Depends: debhelper, libneon25-dev, apache2-threaded-dev, libapr0-dev (>= 
2.0.55-3), libdb4.3-dev, libtool, bison, patch, python, python2.3-dev, 
autotools-dev, autoconf, swig, perl, cdbs, libperl-dev, ruby1.8, ruby1.8-dev, 
kaffe-dev (>= 2:1.1.6) [!arm !armeb !m68k !mips !mipsel !kfreebsd-i386], 
kaffe-pthreads (>= 2:1.1.6) [!arm !armeb !m68k !mips !mipsel !kfreebsd-i386], 
junit [!arm !armeb !m68k !mips !mipsel !kfreebsd-i386]
+Build-Depends: debhelper, libneon25-dev, apache2-threaded-dev, libapr0-dev (>= 
2.0.55-3), libdb4.3-dev, libtool, bison, patch, python, python2.3-dev, 
autotools-dev, autoconf, swig, perl, cdbs, libperl-dev, ruby1.8, ruby1.8-dev, 
kaffe-dev (>= 2:1.1.6) [!arm !armeb !m68k !mips !mipsel !kfreebsd-i386], 
kaffe-pthreads (>= 2:1.1.6) [!arm !armeb !m68k !mips !mipsel !kfreebsd-i386], 
junit [!arm !armeb !m68k !mips !mipsel !kfreebsd-i386], doxygen
 Build-Conflicts: libsvn0 (<< 1.2)
 Standards-Version: 3.6.2.1
 
@@ -57,6 +57,21 @@
  This package contains the symlinks, headers, and object files needed to 
  compile and link programs which use the Subversion libraries.
 
+Package: libsvn0-doc
+Section: libdevel
+Priority: extra
+Architecture: all
+Conflicts: libsvn0 (<< ${Source-Version}), libsvn0 (>> ${Source-Version})
+Description: development documentation for Subversion (aka. svn) libraries
+ Subversion is a version control system much like the Concurrent
+ Versions System (CVS).  Version control systems allow many
+ individuals (who may be distributed geographically) to collaborate on
+ a set of files (typically source code).  Subversion has all the major
+ features of CVS, plus certain new features that CVS users often wish
+ they had.
+ . 
+ This package contains development (API) documentation.
+
 Package: libapache2-svn
 Section: net
 Architecture: any
Index: debian/rules
===================================================================
--- debian/rules        (revision 494)
+++ debian/rules        (working copy)
@@ -135,6 +135,8 @@
                javahl_javahdir=/usr/include/svn-javahl
 endif
 
+       $(MAKE) -C $(DEB_BUILDDIR) doc-api
+
        touch $@
 
 clean:: cleanbuilddir
@@ -200,6 +202,10 @@
        install subversion/mod_authz_svn/INSTALL \
                debian/libapache2-svn/usr/share/doc/libapache2-svn/INSTALL.authz
 
+       install -d debian/libsvn0-doc/usr/share/doc/libsvn0-doc
+       cp -rf $(DEB_BUILDDIR)/doc/doxygen/html \
+               debian/libsvn0-doc/usr/share/doc/libsvn0-doc/doxygen
+
        # Install files for 'subversion-tools' package.
        install $(DEB_BUILDDIR)/contrib/client-side/svn_load_dirs.pl \
                debian/subversion-tools/usr/bin/svn_load_dirs

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to