mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Enable detect of markdown binary
Some distributions do not provide markdown as "markdown". Let's figure out which version to use during build.
This commit is contained in:
parent
703bb7c1a3
commit
23749eb634
5
Makefile
5
Makefile
@ -1,5 +1,8 @@
|
||||
PREFIX ?= /
|
||||
|
||||
MARKDOWN := $(shell which markdown markdown2 markdown_py 2>/dev/null)
|
||||
MARKDOWN ?= markdown
|
||||
|
||||
default all: lib src test README.html
|
||||
|
||||
clean: ## Cleanup
|
||||
@ -19,7 +22,7 @@ test: lib src
|
||||
$(MAKE) -C test
|
||||
|
||||
README.html: README.md
|
||||
markdown README.md > README.html.new
|
||||
$(MARKDOWN) README.md > README.html.new
|
||||
mv -f README.html.new README.html
|
||||
|
||||
install: ## Install bees + libs
|
||||
|
Loading…
x
Reference in New Issue
Block a user