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?
Adeodato Simó
If you use debhelper tools to generate the packages, you can simply export DH_OPTIONS=-Nfoo-doc.