you do not want this package. Install the appropriate linux-headers
package instead.
-Package: SRCPKGNAME-doc
-Build-Profiles: <!stage1>
-Architecture: all
-Section: doc
-Priority: optional
-Depends: ${misc:Depends}
-Description: Linux kernel specific documentation for version PKGVER
- This package provides the various documents in the PKGVER kernel
- Documentation/ subdirectory. These document kernel subsystems, APIs, device
- drivers, and so on. See
- /usr/share/doc/SRCPKGNAME-doc/00-INDEX for a list of what is
- contained in each file.
-
Package: SRCPKGNAME-headers-PKGVER-ABINUM
Build-Profiles: <!stage1>
Architecture: all
--- /dev/null
+Package: linux-doc
+Build-Profiles: <!stage1>
+Architecture: all
+Section: doc
+Priority: optional
+Depends: ${misc:Depends}
+Description: Linux kernel specific documentation for version PKGVER
+ This package provides the various documents in the PKGVER kernel
+ Documentation/ subdirectory. These document kernel subsystems, APIs, device
+ drivers, and so on. See
+ /usr/share/doc/SRCPKGNAME-doc/00-INDEX for a list of what is
+ contained in each file.
ifeq ($(do_libc_dev_package),true)
control_files += $(DROOT)/control.d/linux-libc-dev.stub
endif
+ifeq ($(do_doc_package),true)
+ control_files += $(DROOT)/control.d/linux-doc.stub
+endif
# Misc stuff
.PHONY: $(DEBIAN)/control.stub
# cycle, so its OK to leave 'do_doc_package_content=false' until those build
# failures get sorted out. Finally, the doc package doesn't really need to be built
# for developer testing (its kind of slow), so only do it if on a buildd.
+ifneq ($(filter --,$(variants)),)
do_doc_package=true
+else
+do_doc_package=false
+endif
do_doc_package_content=true
ifeq ($(full_build),false)
do_doc_package_content=false