void-packages/srcpkgs/bees/patches/0001-don-t-run-tests-unless...

45 lines
1.1 KiB
Diff

From bcaa0cb78866289af9094a77e1f9017a4a0a32a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Thu, 7 Oct 2021 18:04:15 +0200
Subject: [PATCH 1/3] don't run tests unless asked
---
Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 44913bd..5c35bf9 100644
--- a/Makefile
+++ b/Makefile
@@ -14,16 +14,12 @@ BEES_VERSION ?= $(shell git describe --always --dirty || echo UNKNOWN)
DEFAULT_MAKE_TARGET ?= reallyall
-ifeq ($(DEFAULT_MAKE_TARGET),reallyall)
- RUN_INSTALL_TESTS = test
-endif
-
include Defines.mk
default: $(DEFAULT_MAKE_TARGET)
all: lib src scripts
-reallyall: all doc test
+reallyall: all doc
clean: ## Cleanup
git clean -dfx -e localconf
@@ -55,7 +51,7 @@ install_tools: src
install -Dm755 bin/fiewalk $(DESTDIR)$(PREFIX)/sbin/fiewalk
install_bees: ## Install bees + libs
-install_bees: src $(RUN_INSTALL_TESTS)
+install_bees: src
install -Dm755 bin/bees $(DESTDIR)$(LIBEXEC_PREFIX)/bees
install_scripts: ## Install scipts
--
2.38.1