mirror of
https://github.com/Zygo/bees.git
synced 2025-07-06 10:32:25 +02:00
Makefile: if multiple Markdown utilities are present, use the first one
If two utilities are found, we get commands like /usr/bin/markdown /usr/bin/markdown_py README.md > README.html and that doesn't work. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
PREFIX ?= /
|
PREFIX ?= /
|
||||||
LIBEXEC_PREFIX ?= $(PREFIX)/usr/lib/bees
|
LIBEXEC_PREFIX ?= $(PREFIX)/usr/lib/bees
|
||||||
|
|
||||||
MARKDOWN := $(shell which markdown markdown2 markdown_py 2>/dev/null)
|
MARKDOWN := $(firstword $(shell which markdown markdown2 markdown_py 2>/dev/null))
|
||||||
MARKDOWN ?= markdown
|
MARKDOWN ?= markdown
|
||||||
|
|
||||||
# allow local configuration to override above variables
|
# allow local configuration to override above variables
|
||||||
|
Reference in New Issue
Block a user