From 85f926503422e5b44d9ff0cb9ff37b9cf8b63a2f Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Fri, 19 Jan 2018 22:09:04 +0100 Subject: [PATCH] Makefile: make installing libs a separate target This will allow installing fiemap/fiewalk support tools as an optional install target. Signed-off-by: Kai Krakow --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 534433b..d151332 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,11 @@ README.html: README.md $(MARKDOWN) README.md > README.html.new mv -f README.html.new README.html -install_bees: ## Install bees + libs -install_bees: lib src $(RUN_INSTALL_TESTS) +install_libs: lib install -Dm644 lib/libcrucible.so $(DESTDIR)$(USRLIB_PREFIX)/libcrucible.so + +install_bees: ## Install bees + libs +install_bees: install_libs src $(RUN_INSTALL_TESTS) install -Dm755 bin/bees $(DESTDIR)$(LIBEXEC_PREFIX)/bees install_scripts: ## Install scipts