~bzr-pqm/bzr/bzr.dev

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all: $(addsuffix .html,$(basename $(wildcard *.txt))) todo.html

clean:
	-rm *.html

%.html: %.txt
	rest2html $^ > $@.tmp && mv $@.tmp $@

todo.html: ../TODO
	rest2html $^ > $@.tmp && mv $@.tmp $@



upload: all
	rsync -av \
	./ \
	escudero.ubuntu.com:/srv/www.bazaar-ng.org/www/doc/ \
	--delete \
	--include \*.html --exclude \*