forked from privacycg/private-click-measurement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (20 loc) · 747 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
publish: build/index.html
all: publish update-explainer-toc
clean:
rm -rf build *~
update-explainer-toc: README.md Makefile
doctoc $< --title "## Table of Contents" > /dev/null
build/index.html: private-click-measurement.bs Makefile
mkdir -p build
bikeshed spec --die-on=warning $< $@