[Max Bowsher] > 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.
Thanks! Looks pretty straightforward. > +Package: libsvn0-doc > +Section: libdevel > +Priority: extra > +Architecture: all > +Conflicts: libsvn0 (<< ${Source-Version}), libsvn0 (>> ${Source-Version}) s/libdevel/doc/, although really that *could* go either way. And I'm going to remove the Conflicts unless there's a good reason to keep it that I haven't thought of. It's best, in general, to keep the dependency web as uncomplicated as possible, and there's no real *harm* from having this package out of sync with libsvn0 or libsvn0-dev. (In the present case, a strict version dependency between an "Architecture: all" and an "Architecture: any" package causes problems because the two sets of packages are built separately on most architectures and thus not always in sync in the archive.) > + 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 I think I'll install the content into /usr/share/doc/libsvn0 and name the subdirectory 'html'. This is allowed, and makes it a bit easier for users to find. Thanks again, Peter
signature.asc
Description: Digital signature