mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
docs: use bash "type -p" because dash isn't useful
If /bin/sh is bash, the 'type' builtin produces a list of filenames that match the arguments to $PATH. If /bin/sh is dash, we get errors like: /bin/sh: 1: P:: not found Hopefully having a build-dep on bash is not controversial. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
6cf16c4849
commit
ba5fda1605
@ -1,4 +1,4 @@
|
|||||||
MARKDOWN := $(firstword $(shell type -P markdown markdown2 markdown_py 2>/dev/null || echo markdown))
|
MARKDOWN := $(firstword $(shell bash -c 'type -P markdown markdown2 markdown_py' 2>/dev/null || echo markdown))
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
|
|
||||||
docs: $(subst .md,.html,$(wildcard *.md)) index.html ../README.html
|
docs: $(subst .md,.html,$(wildcard *.md)) index.html ../README.html
|
||||||
|
@ -22,7 +22,7 @@ Dependencies
|
|||||||
|
|
||||||
* [Linux kernel version](btrfs-kernel.md) gets its own page.
|
* [Linux kernel version](btrfs-kernel.md) gets its own page.
|
||||||
|
|
||||||
* markdown for documentation
|
* markdown and bash for documentation
|
||||||
|
|
||||||
* util-linux version that provides `blkid` command for the helper
|
* util-linux version that provides `blkid` command for the helper
|
||||||
script `scripts/beesd` to work
|
script `scripts/beesd` to work
|
||||||
|
Loading…
x
Reference in New Issue
Block a user