mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 01:26:18 +02:00
docs: dash more useful than previously believed
It turns out both dash and bash support `command -v` so let's use that. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
MARKDOWN := $(firstword $(shell bash -c 'type -P markdown markdown2 markdown_py' 2>/dev/null || echo markdown))
|
||||
MARKDOWN := $(firstword $(shell command -v markdown markdown2 markdown_py 2>/dev/null || echo markdown))
|
||||
.PHONY: docs
|
||||
|
||||
docs: $(subst .md,.html,$(wildcard *.md)) index.html ../README.html
|
||||
|
Reference in New Issue
Block a user