cvs-debuild โ build a Debian package using cvs-buildpackage and debuild
| Use Case | Command | Description |
|---|---|---|
| Build package with debuild | cvs-debuild | Wrapper around cvs-buildpackage using debuild as builder |
| Pass debuild options | cvs-debuild --no-conf --lintian | Pass options to debuild; first non-debuild option signals start of cvs-buildpackage options |
| Specify root command | cvs-debuild -r fakeroot | Set the gain-root command for cvs-buildpackage |
| Preserve environment | cvs-debuild --preserve-envvar=HOME | Preserve specific environment variables |
| Run lintian after build | cvs-debuild --lintian --lintian-opts -i | Run lintian with options after debuild |
cvs-debuild [debuild options] [cvs-buildpackage options] [--lintian-opts lintian options]
cvs-debuild is a wrapper around cvs-buildpackage to run it with debuild as the package-building program. (This cannot simply be accomplished using the -C option of cvs-buildpackage, as it does not know how to handle all of the special debuild options.)
The program simply stashes the debuild and lintian options, and passes them to debuild when it is called by cvs-buildpackage. All of the standard debuild options may be used (as listed below), but note that the root command specified by any --rootcmd or -r command-line option will be passed as an option to cvs-buildpackage. The first non-debuild option detected will signal the start of the cvs-buildpackage options.
The selection of the root command is slightly subtle: if there are any command-line options, these will be used. If not, then if cvs-buildpackage is set up to use a default root command, that will be used. Finally, if neither of these are the case, then debuild will use its procedures to determine an appropriate command, as described in its documentation.
See the manpages for debuild(1) and cvs-buildpackage for more information about the behaviour of each.
The following are the debuild options recognised by cvs-debuild. All cvs-buildpackage and lintian options are simply passed to the appropriate program. For explanations of the meanings of these variables, see debuild(1).
--no-conf, --noconf โ ๐ซ Skip configuration file checks--rootcmd=gain-root-command, -rgain-root-command โ ๐ Specify the command to gain root privileges--preserve-env โ ๐พ Preserve the entire environment--preserve-envvar=var, -evar โ ๐พ Preserve a specific environment variable--set-envvar=var=value, -evar=value โ โ๏ธ Set an environment variable--lintian, --no-lintian โ ๐งน Enable or disable lintian run after build--ignore-dirname, --check-dirname โ ๐ Control directory name validation (should not be needed, but provided nevertheless)This program was written by Julian Gilbey <jdg AT debian.org>.
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-01 00:01 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)