Use dpkg-buildpackage -A
(obrigado, @WouterVerhelst)
-A Specifies a binary-only build, limited to architecture independent packages. Passed to dpkg-genchanges.
Experimente também dpkg-buildpackage -T binary-indep
-T target - Calls
debian/rules target
after having setup the build environment and stops the package build process here.
binary (required), binary-arch (required), binary-indep (required)
The binary target must be all that is necessary for the user to build the binary package(s) produced from this source package. It is split into two parts: binary-arch builds the binary packages which are specific to a particular architecture, and binary-indep builds those which are not.
Alguns pacotes de código-fonte (por exemplo apt
) possuem regras para criar um pacote específico. Portanto, você pode executar dpkg-buildpackage -T apt-doc --as-root
para criar apenas apt-doc
package.