From 3d94e8e810e26097aeae41c29b6f850254e80507 Mon Sep 17 00:00:00 2001 From: June Tate-Gans Date: Fri, 29 Mar 2024 10:53:17 -0500 Subject: [PATCH] build: Add a dist target. --- Makefile | 2 ++ tools/dockerbuild.sh | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 55f7641..5ad14b4 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ endif ifeq (${DISTRO},manjaro) DISTRO := archlinux +else ifeq (${DISTRO},arch) +DISTRO := archlinux endif $(warning Building on ${DISTRO}) diff --git a/tools/dockerbuild.sh b/tools/dockerbuild.sh index 6fc3ca6..95549d8 100755 --- a/tools/dockerbuild.sh +++ b/tools/dockerbuild.sh @@ -24,10 +24,9 @@ case "${DISTRO}" in try pacman -S --noconfirm base-devel python meson lsb-release git # Work around makepkg brain-damage and build as nobody - try mkdir -p /tmp/build try cp -r /srcs /tmp/build try chown -R nobody:nobody /tmp/build - cd /tmp/build + try cd /tmp/build try sudo -u nobody make try cp build/* /srcs/build ;;