build: Fix make distcheck

This fixes the following error:

make[2]: *** No rule to make target 'doct/hci.7', needed by 'distdir-am'.
This commit is contained in:
Luiz Augusto von Dentz 2024-10-21 16:30:48 -04:00
parent 8baabd2f5c
commit ba98be0356
4 changed files with 12 additions and 1 deletions

View File

@ -386,7 +386,7 @@ man_MANS += doc/org.bluez.obex.Client.5 doc/org.bluez.obex.Session.5 \
doc/org.bluez.obex.Image.5
endif
manual_pages += src/bluetoothd.8
manual_pages += doct/hci.7 doc/l2cap.7 doc/rfcomm.7
manual_pages += doc/hci.7 doc/l2cap.7 doc/rfcomm.7
manual_pages += doc/org.bluez.Adapter.5 doc/org.bluez.Device.5 \
doc/org.bluez.DeviceSet.5 doc/org.bluez.AgentManager.5 \
doc/org.bluez.Agent.5 doc/org.bluez.ProfileManager.5 \

View File

@ -106,6 +106,7 @@ struct btd_avdtp_opts {
struct btd_avrcp_opts {
bool volume_without_target;
bool volume_category;
};
struct btd_advmon_opts {

View File

@ -167,6 +167,7 @@ static const char *avdtp_options[] = {
static const char *avrcp_options[] = {
"VolumeWithoutTarget",
"VolumeCategory",
NULL
};
@ -1151,6 +1152,9 @@ static void parse_avrcp(GKeyFile *config)
parse_config_bool(config, "AVRCP",
"VolumeWithoutTarget",
&btd_opts.avrcp.volume_without_target);
parse_config_bool(config, "AVRCP",
"VolumeCategory",
&btd_opts.avrcp.volume_category);
}
static void parse_advmon(GKeyFile *config)
@ -1220,6 +1224,7 @@ static void init_defaults(void)
btd_opts.avdtp.stream_mode = BT_IO_MODE_BASIC;
btd_opts.avrcp.volume_without_target = false;
btd_opts.avrcp.volume_category = true;
btd_opts.advmon.rssi_sampling_period = 0xFF;
btd_opts.csis.encrypt = true;

View File

@ -311,6 +311,11 @@
# version is ignored.
#VolumeWithoutTarget = false
# Validate that remote AVRCP profiles advertise the category-2 bit before
# allowing SetAbsoluteVolume calls or registering for EVENT_VOLUME_CHANGED
# notifications.
#VolumeCategory = true
[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try