Mon, 21 Apr 2014 00:56:01 +0900
[css-text] issues-lc-2013 updated up to 45
glenn@6245 | 1 | ANOLIS = anolis |
simonp@8224 | 2 | SED = sed |
simonp@8224 | 3 | CURL = curl |
glenn@6344 | 4 | SPECSTOP = .. |
glenn@6344 | 5 | GENDIR = $(SPECSTOP)/cssom |
simonp@8215 | 6 | XREF = data |
simonp@8215 | 7 | XREFS = $(XREF)/xrefs/css/cssom.json |
simonp@8224 | 8 | SRCFILE = Overview.src.html |
simonp@8224 | 9 | VNUFILE = Overview.src.vnu.html |
glenn@6245 | 10 | EDFILE = Overview.html |
glenn@6245 | 11 | TRFILE = TR/Overview.html |
glenn@4922 | 12 | |
simonp@8215 | 13 | all: $(EDFILE) $(XREFS) |
glenn@4922 | 14 | |
glenn@4922 | 15 | $(XREFS): Overview.src.html Makefile |
simonp@8215 | 16 | $(ANOLIS) --dump-xrefs=$@ $< /tmp/spec; $(RM) /tmp/spec |
glenn@4922 | 17 | |
simonp@8215 | 18 | $(EDFILE): Overview.src.html $(XREF) Makefile |
simonp@8406 | 19 | $(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --use-strict \ |
simonp@8559 | 20 | --w3c-compat-substitutions --w3c-compat-xref-a-placement --w3c-compat-class-toc --enable=xspecxref --enable=refs --w3c-shortname="cssom" \ |
simonp@8406 | 21 | --filter=".publish" $< $@; \ |
simonp@8224 | 22 | $(SED) 's/\[/\(/g;s/\]/\)/g' <$(SRCFILE) >$(VNUFILE); \ |
simonp@9000 | 23 | $(CURL) -F out=gnu -F content=@$(VNUFILE) http://html5.validator.nu/; \ |
simonp@8224 | 24 | $(RM) $(VNUFILE); \ |
simonp@8224 | 25 | $(CURL) 'http://www.w3.org/2009/07/webidl-check?doc=http%3A%2F%2Fdev.w3.org%2Fcsswg%2Fcssom%2F&output=text' |
simonp@8224 | 26 | #$(CURL) -F output=text -F input=@$(SRCFILE) http://www.w3.org/2009/07/webidl-check |
glenn@4922 | 27 | |
glenn@4922 | 28 | draft: $(EDFILE) |
glenn@4922 | 29 | |
simonp@8215 | 30 | $(TRFILE): Overview.src.html $(XREF) Makefile |
simonp@8406 | 31 | $(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --use-strict \ |
simonp@8559 | 32 | --w3c-compat-substitutions --w3c-compat-xref-a-placement --w3c-compat-class-toc --enable=xspecxref --enable=refs --w3c-shortname="cssom" \ |
simonp@8406 | 33 | --filter=".dontpublish" --pubdate="$(PUBDATE)" \ |
simonp@8215 | 34 | --w3c-status=WD $< $@ |
glenn@4922 | 35 | |
glenn@4922 | 36 | publish: $(TRFILE) |