Created
January 6, 2011 06:08
-
-
Save sideshowbarker/767595 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HG=hg | |
SVN=svn | |
CURL=curl | |
PYTHON=python | |
PATCH=patch | |
SPLITTER=html5-tools/spec-splitter/spec-splitter.py | |
SPLITTERFLAGS=--html5lib-serialiser | |
LOG: index.html $(SPLITTER) | |
$(PYTHON) $(SPLITTER) $(SPLITTERFLAGS) $< . | |
touch LOG | |
index.html: html5-full.html anolis/anolis | |
$(PYTHON) anolis/anolis \ | |
--parser=lxml.html \ | |
--filter=.impl \ | |
--output-encoding="ascii" \ | |
$< $@ | |
html5-full.html: | |
$(CURL) http://www.whatwg.org/specs/web-apps/current-work/ > $@ | |
clean: | |
$(RM) LOG | |
$(RM) html5-full.html | |
anolis/anolis: | |
$(HG) clone http://hg.hoppipolla.co.uk/anolis/ | |
$(PATCH) -p1 -d anolis < patch.anolis | |
$(SPLITTER): | |
$(SVN) checkout http://html5.googlecode.com/svn/trunk/ html5-tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment