Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 489 Bytes
HTML2MARKDOWN=html2text
PYTHON=python
PYTHONFLAGS=
SPECSPLITTER=spec-splitter.py
SPECSPLITTERFLAGS=
SINGLEPAGE=index.html
MULTIPAGE=spec.html
MULTIPAGECOPY=multi.html
all: $(MULTIPAGE) $(MULTIPAGECOPY) README.md
README.md: README.html
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
$(MULTIPAGE): index.html
$(PYTHON)$(PYTHONFLAGS) $(SPECSPLITTER) $(SPECSPLITTERFLAGS) $< .
$(MULTIPAGECOPY): $(MULTIPAGE)
cp $< $@
clean:
$(RM) $(MULTIPAGE)
$(RM) $(MULTIPAGECOPY)
$(RM) README.md