From 6c47bb61c18c9ab02a432266385f964cbb48ea5f Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Fri, 19 Jan 2018 21:52:44 +0100 Subject: [PATCH] Makefile: remove tests from "make all" Instead, introduce "make reallyall" and make it the default target. Now, one can override the default target using localconf. Needed for preparing Gentoo ebuild test behavior. Signed-off-by: Kai Krakow --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9931a3e..80f366e 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,12 @@ MARKDOWN := $(firstword $(shell which markdown markdown2 markdown_py 2>/dev/null # allow local configuration to override above variables -include localconf -default all: lib src scripts test README.html +DEFAULT_MAKE_TARGET ?= reallyall + +default: $(DEFAULT_MAKE_TARGET) + +all: lib src scripts README.html +reallyall: all test clean: ## Cleanup git clean -dfx -e localconf