diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-07-23 21:26:46 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-08-01 22:59:22 +0100 |
commit | 2ce816d5213eeea94d62f21fb6406e4219a3b461 (patch) | |
tree | 38c53ccab30e06147f9f8515cac1315900bd3b7c | |
parent | 23ec2341342e45b5349505ec84b806edc37eb1d5 (diff) | |
download | netsurf-2ce816d5213eeea94d62f21fb6406e4219a3b461.tar.gz netsurf-2ce816d5213eeea94d62f21fb6406e4219a3b461.tar.bz2 |
Attempt to extract the uievents IDL
-rw-r--r-- | javascript/WebIDL/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/javascript/WebIDL/Makefile b/javascript/WebIDL/Makefile index f5cd6fc2a..ea80a15c9 100644 --- a/javascript/WebIDL/Makefile +++ b/javascript/WebIDL/Makefile @@ -16,7 +16,7 @@ .PHONY:all clean -all: dom.idl html.idl +all: dom.idl html.idl uievents.idl .INTERMEDIATE:dom-spec.html dom-spec.xml dom-idl.html html-spec.html html-spec.xml html-idl.html @@ -27,8 +27,14 @@ dom-spec.html: html-spec.html: curl -s https://html.spec.whatwg.org/ -o $@ +uievents-spec.html: + curl -s https://w3c.github.io/uievents/ -o $@ + %-spec.xml: %-spec.html - -tidy -q -f $@.errors --new-blocklevel-tags header,hgroup,figure,time,main,nav,svg,rect,text,image,mark,figcaption -o $@ -asxml $< + -tidy -q -f $@.errors --new-blocklevel-tags header,hgroup,figure,time,main,nav,svg,rect,text,image,mark,figcaption,section -o $@ -asxml $< + +uievents-idl.html: uievents-spec.xml + hxselect 'dl.idl' < $< | hxremove 'p' >> $@ %-idl.html: %-spec.xml hxselect 'pre[class="idl"]' < $< > $@ @@ -41,6 +47,5 @@ html-spec.html: cat $< | w3m -dump -T text/html >>$@ - clean: ${RM} dom.idl html.idl dom-spec.html dom-spec.xml dom-idl.html html-spec.html html-spec.xml html-idl.html |