~clint-fewbar/+junk/upstart-cookbook

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SRC   = upstart_cookbook.rst
DOC   = $(SRC:.rst=.html)
FINAL = index.html
DIR   = upstart/cookbook
URI   = people.canonical.com:public_html/$(DIR)/$(FINAL)

default: generate

generate: $(SRC)
	rst2html --verbose $< $(DOC)


publish: generate
	scp $(DOC) $(URI)

clean:
	rm -f $(DOC)