/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/Makefile

  • Committer: Martin Pool
  • Date: 2005-07-11 22:20:04 UTC
  • Revision ID: mbp@sourcefrog.net-20050711222004-4130f49c487f0bb8
patch from John

On Mac OSX /tmp is actually a symlink to /private/tmp
so _relpath() fails because the real full path is different.

The attached path just makes dtmp be expanded to it's real path, which
makes the 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