1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

Makefile: Run install tests only for default target "reallyall"

Otherwise, tests would still run during "make install".

Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
Kai Krakow 2018-01-19 21:53:50 +01:00
parent 6c47bb61c1
commit 5b28aad27f

View File

@ -12,6 +12,10 @@ MARKDOWN := $(firstword $(shell which markdown markdown2 markdown_py 2>/dev/null
DEFAULT_MAKE_TARGET ?= reallyall
ifeq ($(DEFAULT_MAKE_TARGET),reallyall)
RUN_INSTALL_TESTS = test
endif
default: $(DEFAULT_MAKE_TARGET)
all: lib src scripts README.html
@ -43,7 +47,7 @@ README.html: README.md
mv -f README.html.new README.html
install_bees: ## Install bees + libs
install_bees: lib src test
install_bees: lib src $(RUN_INSTALL_TESTS)
install -Dm644 lib/libcrucible.so $(DESTDIR)$(USRLIB_PREFIX)/libcrucible.so
install -Dm755 bin/bees $(DESTDIR)$(LIBEXEC_PREFIX)/bees