finally skip perl & openssl docs

This commit is contained in:
2026-02-21 18:39:02 +01:00
parent 917ffadc6a
commit 2113e5155b
5 changed files with 52 additions and 4 deletions

View File

@@ -133,11 +133,29 @@ void install_package(const std::string &name, DB &db) {
} catch (std::out_of_range &) {
}
bool do_install = true;
try {
if (step.get_one("do_install").value == "no") {
do_install = false;
}
} catch (std::out_of_range &) {
}
Util::shell_command("./configure --prefix=/usr " + configure_flags,
src_path);
Util::shell_command("make -j " + jobs, src_path);
Util::shell_command("make install", src_path);
if (do_install) {
Util::shell_command("make install", src_path);
}
} else if (step_type == "make") {
bool do_install = true;
try {
if (step.get_one("do_install").value == "no") {
do_install = false;
}
} catch (std::out_of_range &) {
}
std::string make_flags;
try {
make_flags = step.get_one("make_flags").value;
@@ -150,7 +168,9 @@ void install_package(const std::string &name, DB &db) {
}
Util::shell_command("make " + make_flags + " -j " + jobs, src_path);
Util::shell_command("make install " + install_flags, src_path);
if (do_install) {
Util::shell_command("make install " + install_flags, src_path);
}
} else if (step_type == "cmake") {
std::string configure_flags;
try {