From 836a06db0d07f8ae6058be24256695615f83ad0f Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 28 Feb 2024 16:11:14 +0100 Subject: [PATCH] Drop build-api support 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 | 7 ------- configure | 24 ------------------------ 2 files changed, 31 deletions(-) delete mode 100644 Makefile delete mode 100755 configure diff --git a/Makefile b/Makefile deleted file mode 100644 index eeb0dbc62f1..00000000000 --- 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 index 5c1722db050..00000000000 --- 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[@]}" -- 2.47.3