~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile.pretty

  • Committer: Aaron Bentley
  • Date: 2006-11-10 01:47:51 UTC
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: aaron.bentley@utoronto.ca-20061110014751-e6da9027939cd42a
Add 'pretty-docs' target to makefile

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
HTMLDIR := html_docs
2
 
doc_dir := doc 
3
 
txt_files := $(wildcard $(addsuffix /*.txt, $(doc_dir)))
4
 
htm_files := $(patsubst %.txt, %.htm, $(txt_files)) doc/bzr_man.htm
5
 
%.htm: %.txt doc/bazaar-vcs.org.kid
6
 
        python tools/rst2prettyhtml.py doc/bazaar-vcs.org.kid $*.txt $*.htm
7
 
html-docs: docs
8
 
docs: $(htm_files)
9
 
        python tools/win32/ostools.py copytodir $(htm_files) $(HTMLDIR)
10
 
doc/bzr_man.txt: bzrlib/builtins.py \
11
 
                 bzrlib/bundle/commands.py \
12
 
                 bzrlib/conflicts.py \
13
 
                 bzrlib/sign_my_commits.py \
14
 
                 generate_docs.py \
15
 
                 tools/doc_generate/__init__.py \
16
 
                 tools/doc_generate/autodoc_rstx.py
17
 
        python2.4 generate_docs.py -o doc/bzr_man.txt rstx