dpkg-buildpackage
Compile binary and/or source Debian packages from source code. Normally executed inside a source tree that contains a
debian/directory. Also handles build dependencies, creates files like.buildinfoand.changes, and signs the result if applicable. More information: https://manned.org/dpkg-buildpackage.
- Generate source and binary packages:
dpkg-buildpackage
- Generate only binary packages (no source package):
dpkg-buildpackage
- Generate only the source package (without compiling binaries):
dpkg-buildpackage
- Do not sign the
.dscand.changesfiles:
dpkg-buildpackage
- Do not run
cleanbefore compiling:
dpkg-buildpackage
- Use
fakerootas the command to gain root privileges during the build:
dpkg-buildpackage fakeroot
- Run a specific
debian/rulestarget:
dpkg-buildpackage
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
