forked from fedidcg/CrossSiteCookieAccessCredential
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (20 loc) · 723 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This Makefile assumes you have a local install of bikeshed. Like any
# other Python tool, you install it with pip:
#
# python3 -m pip install bikeshed && bikeshed update
# It also assumes you have doctoc installed. This is a tool that
# automatically generates Table of Contents for Markdown files. It can
# be installed like any other NPM module:
#
# npm install -g doctoc
.PHONY: all publish clean update-explainer-toc
.SUFFIXES: .bs .html
all: update-explainer-toc
clean:
rm -rf build *~
publish: build/index.html
update-explainer-toc: README.md Makefile
doctoc $< --title "## Table of Contents" > /dev/null
build/index.html: work-item.bs Makefile
mkdir -p build
bikeshed --die-on=warning spec $< $@