trivial: debian: Add support for Build-Profile nodoc

Link: https://wiki.debian.org/BuildProfileSpec
This commit is contained in:
Mario Limonciello 2022-08-30 13:41:50 -05:00 committed by Mario Limonciello
parent 709af2a269
commit 20eb0ff32e
2 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,8 @@ Uploaders: Steve McIntyre <93sam@debian.org>,
Matthias Klumpp <mak@debian.org>,
Mario Limonciello <superm1@gmail.com>
Build-Depends: %%%DYNAMIC%%%
Build-Depends-Indep: libglib2.0-doc <!nodoc>
Build-Depends-Indep: gi-docgen <!nodoc>,
libglib2.0-doc <!nodoc>,
Rules-Requires-Root: no
Standards-Version: 4.6.0.1
Section: admin
@ -107,6 +108,7 @@ Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
Build-Profiles: <!nodoc>
Description: Firmware update daemon documentation (HTML format)
fwupd is a daemon to allow session software to update device firmware.
You can either use a GUI software manager like GNOME Software to view and

View File

@ -44,6 +44,10 @@ ifneq ($(QUBES_OPTION),)
CONFARGS += -Dqubes=true
endif
ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
CONFARGS += -Ddocs=disabled
endif
CONFARGS += -Dplugin_dummy=true -Dplugin_powerd=disabled -Dsupported_build=enabled -Dplugin_modem_manager=enabled -Dsystemd_unit_user=fwupd-refresh
%: