]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Drop build-api support
authorMichael Biebl <biebl@debian.org>
Wed, 28 Feb 2024 15:11:14 +0000 (16:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 29 Feb 2024 08:55:58 +0000 (09:55 +0100)
It appears the build-api effort at
https://github.com/cgwalters/build-api hasn't really caught on.
systemd appears one of the very few projects actually supporting it.

It does confuse certain tools though. E.g. debhelper by finding a
configure script wrongly assumes this is an autoconf project and thus
needs to be told explicitly that this is in fact a Meson project [1].

Given that Meson is an established build system by now, it appears ok to
drop this compat layer, which will never be fully complete anyway.

[1] https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/rules?ref_type=heads#L281

Makefile [deleted file]
configure [deleted file]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index eeb0dbc..0000000
--- a/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-
-all:
-       ninja -C build
-
-install:
-       DESTDIR=$(DESTDIR) ninja -C build install
diff --git a/configure b/configure
deleted file mode 100755 (executable)
index 5c1722d..0000000
--- a/configure
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-# SPDX-License-Identifier: LGPL-2.1-or-later
-set -e
-
-cflags="CFLAGS=${CFLAGS-}"
-cxxflags="CXXFLAGS=${CXXFLAGS-}"
-args=()
-
-for arg in "$@"; do
-    case "$arg" in
-        CFLAGS=*)
-            cflags="$arg"
-            ;;
-        CXXFLAGS=*)
-            cxxflags="$arg"
-            ;;
-        *)
-            args+=("$arg")
-    esac
-done
-
-export "${cflags?}" "${cxxflags?}"
-set -x
-exec meson setup build "${args[@]}"