html5/spec-author-view Makefile,NONE,1.1

Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv3860

Added Files:
	Makefile 
Log Message:
share Makefile snapshot to diagnose #target issues

--- NEW FILE: Makefile ---
SVN=svn
CURL=curl
PYTHON=python

HTML5=../spec

# http://mercurial.selenic.com/wiki/
HG=hg

multipage/Overview.html: multipage/spec.html splitter
	mkdir -p multipage
	$(PYTHON) html5-tools/spec-splitter/spec-splitter.py --w3c \
		multipage/spec.html multipage

multipage/spec.html: $(HTML5)/Overview.html anolis/anolis
	mkdir -p multipage
	$(PYTHON) anolis/anolis --parser=lxml.html --filter=.impl \
		 $(HTML5)/Overview.html $@

clean:
	$(RM) -rf multipage

# was:
#	$(CURL) -o $@ http://dev.w3.org/html5/spec/Overview.html

splitter: html5-tools/spec-splitter/spec-splitter.py

html5-tools/spec-splitter/spec-splitter.py:
	$(SVN) checkout http://html5.googlecode.com/svn/trunk/ html5-tools


# This was my 1st approach; hixie suggested the above technique instead
html5-author2.html: webapps/source anolis/anolis
	anolis/anolis --parser=lxml.html \
		--output-encoding=ascii --w3c-compat-xref-a-placement \
		--filter=.impl webapps/source $@

# this also relies on html5lib and lxml
anolis/anolis:
	$(HG) clone http://hg.hoppipolla.co.uk/anolis/

webapps/source:
	$(SVN) co http://svn.whatwg.org/webapps/


# Another source of clues...
#<rubys> We should use what Hixie provides, but FYI, I've genned a document before using this: http://intertwingly.net/tmp/html5spec

Received on Tuesday, 25 August 2009 22:04:53 UTC