Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ docassets = $(addprefix out/,$(wildcard doc/assets/*))
VERSION = $(shell node -e "console.log( require('./src/package.json').version )")
UNAME := $(shell uname -s)

docs: $(outdoc_files) $(docassets)
ensure_marked_is_installed:
set -eu; \
hash npm; \
if [ $(shell npm list --prefix bin/doc >/dev/null 2>/dev/null; echo $$?) -ne "0" ]; then \
npm ci --prefix=bin/doc; \
fi

docs: ensure_marked_is_installed $(outdoc_files) $(docassets)

out/doc/assets/%: doc/assets/%
mkdir -p $(@D)
Expand Down
1 change: 0 additions & 1 deletion bin/doc/node_modules/.bin/marked

This file was deleted.

2 changes: 0 additions & 2 deletions bin/doc/node_modules/marked/.npmignore

This file was deleted.

19 changes: 0 additions & 19 deletions bin/doc/node_modules/marked/LICENSE

This file was deleted.

9 changes: 0 additions & 9 deletions bin/doc/node_modules/marked/Makefile

This file was deleted.

135 changes: 0 additions & 135 deletions bin/doc/node_modules/marked/README.md

This file was deleted.

115 changes: 0 additions & 115 deletions bin/doc/node_modules/marked/bin/marked

This file was deleted.

1 change: 0 additions & 1 deletion bin/doc/node_modules/marked/index.js

This file was deleted.

Loading