C.5. How to set up your package for use with svn-buildpackage

Please see the svn-buildpackage documentation for complete information. The important issues here are:

Place yourself in trunk/packages/my_packages/trunk, and do the following: svn propset mergeWithUpstream 1 debian. This registers the property "mergeWithUpstream" with the current directory, such that svn-buildpackage knows that it has to use merge mode as explained above.

Create a file debian/svn-deblayout with the following contents:


tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/my_package
        

Remember that "my_package" has to be replaced by the name of your actual package. svn-buildpackage will not include this file in the source package when actually building the package.

If you tried svn-buildpackage before writing your debian/svn-deblayout remember to delete .svn/deb-layout, since svn-buildpackages caches here the content of svn-deblayout (that would be empty in this case) and will ignore your debian/svn-deblayout.