Makefile for HTML documentation
|Reported by:||Owned by:||Jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I wanted to be able to read the current SVN docs as HTML, so I put together a small Makefile (to go in the docs directory):
.SUFFIXES = .txt .html %.html : %.txt rst2html.py $< $@ objects := $(patsubst %.txt,%.html,$(wildcard *.txt)) all: $(objects)
Assumes docutils and rst2html.py on your path, and GNU Make. Running make processes any .txt files to .html as needed. Will add as an attachment too to preserve tabs.