From 6d6aedd8ecc7876a65e744c35b329a53a68dd797 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Thu, 11 Jan 2018 21:25:12 +0100 Subject: [PATCH] Makefile: Fail gracefully if markdown is not installed Previously, MARKDOWN may end up empty. This commit should fix it. Signed-off-by: Kai Krakow --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 363289c..ea2a2da 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,7 @@ USRLIB_PREFIX ?= $(USR_PREFIX)/$(LIBDIR) SYSTEMD_LIB_PREFIX ?= $(PREFIX)/lib/systemd LIBEXEC_PREFIX ?= $(USRLIB_PREFIX)/bees -MARKDOWN := $(firstword $(shell which markdown markdown2 markdown_py 2>/dev/null)) -MARKDOWN ?= markdown +MARKDOWN := $(firstword $(shell which markdown markdown2 markdown_py 2>/dev/null || echo markdown)) # allow local configuration to override above variables -include localconf