Skip to content

Commit e84bd4b

Browse files
committed
Added ability to build the HTML5-hixie specification.
1 parent 82d5eca commit e84bd4b

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

Makefile.in

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ help:
1111
@echo ""
1212
@echo " make - Builds the entire HTML5 specification"
1313
@echo " make whatwg-pull - Pull the latest updates from the WHAT WG repository"
14+
@echo " make spec - Build the HTML5 specification"
1415
@echo " make spec-rdfa-module - Build the RDFa specification module"
1516
@echo " make spec-rdfa-complete - Build the HTML5+RDFa specification"
1617
@echo " make clean - Cleans all of the build files"
@@ -19,8 +20,16 @@ whatwg-pull:
1920
@echo "Pulling latest changes from WHAT Working Group repository"
2021
@@SVN@ co http://svn.whatwg.org/webapps html5-hixie
2122

22-
spec:
23-
@echo "Not implemented yet..."
23+
spec: ${DIST_DIR}/html5.html
24+
25+
${DIST_DIR}/html5.html: headers/header-w3c-html5 html5-hixie/source
26+
@echo "Building HTML5 specification..."
27+
@mkdir -p ${BUILD_DIR} ${DIST_DIR}
28+
@echo "Concatenating W3C Header to HTML5 document..."
29+
@cat headers/header-w3c-html5 html5-hixie/source > $(BUILD_DIR)/spec-html5.html
30+
@echo "Generating final HTML via Anolis (this may take 2-3 minutes)..."
31+
@@ANOLIS@ --allow-duplicate-dfns --w3c-compat ${BUILD_DIR}/spec-html5.html ${DIST_DIR}/html5.html
32+
@echo "HTML5 spec written to: ${DIST_DIR}/html5.html"
2433

2534
spec-rdfa-module: ${DIST_DIR}/rdfa-module.html
2635

README

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ Introduction
44
This is an EXPERIMENTAL git repository for use by anybody that would
55
like to contribute to the HTML5 specification via the HTML Working
66
Group. You can clone and modify the repository without permission
7-
from anybody. For commit rights, you must be a member of the
8-
HTML Working Group and agree to the W3C Patent and Copyright policy.
9-
This repository is backed up regularly but is
10-
*INTENDED FOR SANDBOX/EXPERIMENTATION PURPOSES ONLY* and is NOT
11-
SUPPORTED in any way by the W3C officially nor by the W3C systems
12-
team in particular.
7+
from anybody.
8+
9+
For commit rights, you must be a member of the HTML Working Group and
10+
agree to the W3C Patent and Copyright policy. Once you have agreed to
11+
the W3C policies, contact Manu Sporny and he can give you commit
12+
access to the repository.
13+
14+
This repository is backed up regularly but is *INTENDED FOR
15+
SANDBOX/EXPERIMENTATION PURPOSES ONLY* and is NOT SUPPORTED in any way
16+
by the W3C officially nor by the W3C systems team in particular.
1317

1418
If you have any problems with it, contact me directly.
1519

@@ -50,7 +54,6 @@ To build the HTML5 specification, run the following commands:
5054

5155
autoconf
5256
./configure
53-
make whatwg-pull
5457
make spec
5558

5659
Contributing to the HTML5 Specification

0 commit comments

Comments
 (0)