~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Robert Collins
  • Date: 2007-05-07 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2485.
  • Revision ID: robertc@robertcollins.net-20070507174930-gksqv90l5emjrcyq
Add the performance roadmap rationale.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
doc_dir := doc 
76
76
txt_files := $(wildcard $(addsuffix /*.txt, $(doc_dir))) doc/bzr_man.txt
77
77
htm_files := $(patsubst %.txt, %.htm, $(txt_files)) 
 
78
dev_txt_files := $(wildcard $(addsuffix /*.txt, doc/developers))
 
79
dev_htm_files := $(patsubst %.txt, %.htm, $(dev_txt_files)) 
78
80
 
79
81
pretty-html-docs: pretty_files
80
82
 
86
88
doc/developers/HACKING.htm: doc/developers/HACKING
87
89
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css $< $@
88
90
 
89
 
doc/%.htm: doc/%.txt 
90
 
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css doc/$*.txt doc/$*.htm
 
91
%.htm: %.txt
 
92
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css $< $@
91
93
 
92
94
$(PRETTYDIR)/%.htm: pretty_docs doc/%.txt
93
95
        python tools/rst2prettyhtml.py doc/bazaar-vcs.org.kid doc/$*.txt \
108
110
man1/bzr.1: $(MAN_DEPENDENCIES)
109
111
        python generate_docs.py -o $@ man
110
112
 
111
 
ALL_DOCS = $(htm_files) $(MAN_PAGES) doc/developers/HACKING.htm
 
113
ALL_DOCS = $(htm_files) $(MAN_PAGES) doc/developers/HACKING.htm $(dev_htm_files)
112
114
docs: $(ALL_DOCS)
113
115
 
114
116
copy-docs: docs