mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +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:
parent
dc7360397e
commit
9d295fab4e
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user