~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/Makefile

  • Committer: John Arbash Meinel
  • Date: 2005-09-29 21:13:03 UTC
  • mto: (1393.1.12)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050929211303-7f1f9bf969d65dc3
All tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
all: $(addsuffix .html,$(basename $(wildcard *.txt))) todo.html
 
2
 
 
3
clean:
 
4
        -rm *.html
 
5
 
 
6
%.html: %.txt
 
7
        rest2html $^ > $@.tmp && mv $@.tmp $@
 
8
 
 
9
todo.html: ../TODO
 
10
        rest2html $^ > $@.tmp && mv $@.tmp $@
 
11
 
 
12
 
 
13
 
 
14
upload: all
 
15
        rsync -av \
 
16
        ./ \
 
17
        escudero.ubuntu.com:/srv/www.bazaar-ng.org/www/doc/ \
 
18
        --delete \
 
19
        --include \*.html --exclude \* 
 
20