summaryrefslogtreecommitdiff
path: root/javascript/WebIDL/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-07-23 21:42:46 +0100
committerVincent Sanders <vince@kyllikki.org>2015-07-23 21:42:46 +0100
commitc5a834f5279581a00fddc959c5f8bc12c07d3483 (patch)
tree2557466f3c6593784d88c6193752e7deb0aec56a /javascript/WebIDL/Makefile
parentbdd9f59573d3c34ed9bf4bd029ca17a846c3602a (diff)
downloadnetsurf-c5a834f5279581a00fddc959c5f8bc12c07d3483.tar.gz
netsurf-c5a834f5279581a00fddc959c5f8bc12c07d3483.tar.bz2
retrive the correct uievents spec and process it appropriately
Diffstat (limited to 'javascript/WebIDL/Makefile')
-rw-r--r--javascript/WebIDL/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/javascript/WebIDL/Makefile b/javascript/WebIDL/Makefile
index cebc7085e..1f9abeca2 100644
--- a/javascript/WebIDL/Makefile
+++ b/javascript/WebIDL/Makefile
@@ -14,8 +14,9 @@
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
-
+.INTERMEDIATE:dom-spec.html dom-spec.xml dom-idl.html
+.INTERMEDIATE:html-spec.html html-spec.xml html-idl.html
+.INTERMEDIATE:uievents-spec.html uievents-spec.xml uievents-idl.html
dom-spec.html:
curl -s https://dom.spec.whatwg.org/ -o $@
@@ -24,14 +25,11 @@ html-spec.html:
curl -s https://html.spec.whatwg.org/ -o $@
uievents-spec.html:
- curl -s https://w3c.github.io/uievents/ -o $@
+ curl -s http://www.w3.org/TR/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,section -o $@ -asxml $<
-uievents-idl.html: uievents-spec.xml
- hxselect 'dl.idl' < $< | hxremove 'p' >> $@
-
%-idl.html: %-spec.xml
hxselect 'pre[class="idl"]' < $< > $@
@@ -44,4 +42,4 @@ uievents-idl.html: uievents-spec.xml
clean:
- ${RM} dom.idl html.idl dom-spec.html dom-spec.xml dom-idl.html html-spec.html html-spec.xml html-idl.html
+ ${RM} dom.idl html.idl uievents.idl dom-spec.html dom-spec.xml dom-idl.html html-spec.html html-spec.xml html-idl.html uievents-spec.html uievents-spec.xml uievents-idl.html uievents-spec.xml.errors