1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

Ladybird: Move helper processes to CMAKE_INSTALL_LIBEXECDIR

It aligns better with the Filesystem Heirarchy Standard[1] to put our
program-specific helper programs that are not intended to be executed by
the user of the application in $prefix/libexec or in whatever the
packager sets as the CMake equivalent. Namely, on Debian systems this
should be /usr/lib/Ladybird or similar.

[1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec
This commit is contained in:
Andrew Kaster 2024-02-23 17:02:17 -07:00 committed by Andrew Kaster
parent c83e50af0b
commit ea59bfaae7
12 changed files with 61 additions and 13 deletions

View file

@ -181,6 +181,7 @@ executable("headless-browser") {
"HelperProcess.cpp",
"Utilities.cpp",
]
output_dir = "$root_out_dir/libexec"
}
fonts = [

View file

@ -16,4 +16,5 @@ executable("ImageDecoder") {
"//Userland/Services/ImageDecoder/ConnectionFromClient.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}

View file

@ -29,4 +29,5 @@ executable("RequestServer") {
"//Userland/Services/RequestServer/Request.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}

View file

@ -17,4 +17,5 @@ executable("SQLServer") {
"//Userland/Services/SQLServer/SQLStatement.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}

View file

@ -81,4 +81,5 @@ executable("WebContent") {
cflags_cc = [ "-DHAS_ACCELERATED_GRAPHICS" ]
deps += [ "//Userland/Libraries/LibAccelGfx" ]
}
output_dir = "$root_out_dir/libexec"
}

View file

@ -27,4 +27,5 @@ executable("WebDriver") {
"//Userland/Services/WebDriver/WebContentConnection.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}

View file

@ -18,4 +18,5 @@ executable("WebSocket") {
"//Userland/Services/WebSocket/ConnectionFromClient.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}

View file

@ -28,4 +28,5 @@ executable("WebWorker") {
"//Userland/Services/WebWorker/PageHost.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}