BSD: Only use BSD as variable for target BSD system

Instead of having multiple boolean variables, we only have one
string variable: BSD with the name of the target BSD system.

Relates: #23853
This commit is contained in:
Cristian Adam
2022-09-06 00:29:04 +02:00
parent 9b1b9b9aae
commit 288f72efea
12 changed files with 11 additions and 46 deletions

5
Help/release/dev/BSD.rst Normal file
View File

@@ -0,0 +1,5 @@
Variables
---------
* The :variable:`BSD` variable is set to a string value when the target system is BSD.
This value can be one of the following: DragonFlyBSD, FreeBSD, OpenBSD, or NetBSD.

View File

@@ -1,9 +0,0 @@
bsd-variables
-------------
* The :variable:`BSD` variable is set to true when the target system
is BSD (DragonFlyBSD, FreeBSD, OpenBSD, or NetBSD)
* The :variable:`DRAGONFLYBSD` variable is set to true when the target system is DragonFlyBSD.
* The :variable:`FREEBSD` variable is set to true when the target system is FreeBSD.
* The :variable:`NETBSD` variable is set to true when the target system is NetBSD.
* The :variable:`OPENBSD` variable is set to true when the target system is OpenBSD.