Debian OCaml Packaging Policy for OCaml 3.10.2 | ||
---|---|---|
Prev | Appendix C. Using the SVN repository |
dpatch will work properly at package build time with the SVN
structure described above since all of the build process will be
carried out in a fresh directory. However, invoking
debian/rules with the "clean" target in
the trunk/ directory will fail since
dpatch is unable to de-apply patches. Passing
--svn-dont-clean
to
svn-buildpackage fixes this
misbehaviour (aliases suggested above already include this
flag).
If you want to use dpatch-edit-patch to handle patches, you will need to invoke
it in "debian only mode" (-b
flag, see man dpatch-edit-patch) and to tell him
where to find the upstream tarball. Adding the following line to your
~/.dpatch.conf will be enough:
conf_origtargzpath=../tarballs