~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/Makefile

  • Committer: Martin Pool
  • Date: 2005-03-14 02:59:01 UTC
  • Revision ID: mbp@sourcefrog.net-20050314025901-d74aa93bb7ee8f62
upload docs to new location under main web site

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
1
%.html: %.txt
7
2
        rest2html $^ > $@.tmp && mv $@.tmp $@
8
3
 
9
 
todo.html: ../TODO
10
 
        rest2html $^ > $@.tmp && mv $@.tmp $@
11
 
 
 
4
all: $(addsuffix .html,$(basename $(wildcard *.txt)))
12
5
 
13
6
 
14
7
upload: all
15
 
        rsync -av \
16
 
        ./ \
17
 
        escudero.ubuntu.com:/srv/www.bazaar-ng.org/www/doc/ \
18
 
        --delete \
19
 
        --include \*.html --exclude \* 
20
 
 
 
8
        (echo 'cd www/doc'; ls *html | sed -e 's/^/put /') | sftp -b /dev/fd/0 bazng@escudero.ubuntu.com