Feedback

type to search

Can I prevent a package from being generated at all?

Asked by , Edited by Berto

Hello,

I have a source package which creates several binary packages, one of them being the documentation.

I know how to modify the package so that the documentation is not compiled (which takes some time) by using e.g. DEB_BUILD_OPTIONS=nodocs, but I’d like to know if there’s a way to prevent that -doc package from being generated at all.

I guess that would involve some kind of condition in the debian/control file.

Is that possible?

or Cancel

2 answers

Your answer

You need to join Debian to complete this action, click here to do so.