forked from w3c/presentation-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (18 loc) · 869 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
# http://wiki.whatwg.org/wiki/GitHub#Makefile
ANOLIS = anolis
TIDY-HTML5 = tidy-html5
all: tidy index.html xrefs/presentation.json
fpwd: tidy xrefs/presentation.json releases/FPWD.html
releases/FPWD.html: Overview.src.html ../xref Makefile
$(ANOLIS) --w3c-status=WD --w3c-compat-substitutions \
--w3c-compat-crazy-substitutions --w3c-shortname="presentation-api" \
--omit-optional-tags --quote-attr-values --enable=xspecxref \
--xref="../xref" --enable=refs $< $@
index.html: Overview.src.html ../xref Makefile
$(ANOLIS) --w3c-status=ED --w3c-compat-substitutions \
--omit-optional-tags --quote-attr-values --enable=xspecxref \
--xref="../xref" --enable=refs $< $@
xrefs/presentation.json: Overview.src.html Makefile
$(ANOLIS) --dump-xrefs=$@ $< /tmp/spec
tidy: Overview.src.html build/tidyconfig.txt
$(TIDY-HTML5) -config build/tidyconfig.txt -o $< $<