summaryrefslogtreecommitdiff
path: root/javascript/WebIDL/Makefile
diff options
context:
space:
mode:
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 ea80a15c9..e27e6e91d 100644
--- a/javascript/WebIDL/Makefile
+++ b/javascript/WebIDL/Makefile
@@ -18,8 +18,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 $@
@@ -28,14 +29,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"]' < $< > $@
@@ -48,4 +46,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