SVN-DO(1) | Command reference | SVN-DO(1) |
svn-do - export a source and run a command inside the source.
svn-do COMMAND
svn-do will use svn-buildpackage to export a source, run a command inside the exported source and, if the command succeeds, copy back the debian/ tree
clean the tree (useful if this requires the full source tree)
$ svn-do debclean I: Exporting source tree via svn-buildpackage... [...] I: Running command: debclean [...] I: Copying back the debian/ tree... 'debian/control' -> 'path/package/debian/control'
use quilt to refresh a patch
$ QUILT_PATCHES=debian/patches svn-do \
sh -c "quilt push 002_static-linking-dont-build-perf.patch; \
quilt refresh" [...] I: Copying back the debian/ tree... [...] 'debian/patches/002_static-linking-dont-build-perf.patch' -> '/path/package/debian/patches/002_static-linking-dont-build-perf.patch'
Start a source editing session and decide later not to copy back the debian/ tree
$ svn-do $SHELL [...] I: Running command: /bin/zsh % exit 1 E: command exited with 1; not copying back the debian/ tree.
edit a patch in a CDBS' simple-patchsys based package
$ svn-do cdbs-edit-patch 02_pmount.patch [...]
/usr/share/doc/svn-buildpackage/()
Eduard Bloch
Goneri Le Bouder
Neil Williams
Copyright © 2009 Eduard Bloch
May 2009 | Release: 0.8.2 |