~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile.pretty

  • Committer: Aaron Bentley
  • Date: 2006-11-03 22:20:59 UTC
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: abentley@panoramicfeedback.com-20061103222059-274e84bc160b7fed
Add makefile for generating rest/kid docs, use .htm extension

Show diffs side-by-side

added added

removed removed

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