mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Makefile: Fail gracefully if markdown is not installed
Previously, MARKDOWN may end up empty. This commit should fix it. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
parent
025b14f38f
commit
6d6aedd8ec
3
Makefile
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user