-
Notifications
You must be signed in to change notification settings - Fork 791
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 1023 Bytes
/
Makefile
File metadata and controls
34 lines (24 loc) · 1023 Bytes
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
28
29
30
31
32
33
34
ANOLIS = anolis
CP = cp
XREFS = data/xrefs/css/cssom-view.json
EDFILE = Overview.html
TRFILE = TR/Overview.html
all: $(EDFILE)
Overview.src.html: cssom-view-source
$(CP) $< $@
$(XREFS): Overview.src.html Makefile
$(ANOLIS) --dump-xrefs=$@ $< /tmp/spec; $(RM) /tmp/spec
$(EDFILE): Overview.src.html $(XREFS) Makefile
$(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values \
--w3c-compat --enable=xspecxref --enable=refs --w3c-shortname="cssom-view" \
--force-html4-id --filter=".publish" $< $@
draft: $(EDFILE)
$(TRFILE): Overview.src.html $(XREFS) Makefile
$(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values \
--w3c-compat --enable=xspecxref --enable=refs --w3c-shortname="cssom-view" \
--force-html4-id --filter=".dontpublish" --pubdate="$(PUBDATE)" --w3c-status=WD $< $@
publish: $(TRFILE)
clean::
$(RM) $(EDFILE)
$(RM) Overview.src.html
echo '{ "definitions": {}, "url": "http://dvcs.w3.org/hg/csswg/raw-file/tip/cssom-view/Overview.html#" }' > $(XREFS)